Changeset 235986 in webkit
- Timestamp:
- Sep 13, 2018, 1:11:01 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 6 edited
-
ChangeLog (modified) (1 diff)
-
css/CSSInheritedValue.h (modified) (1 diff)
-
css/CSSInitialValue.h (modified) (1 diff)
-
css/CSSPrimitiveValue.h (modified) (1 diff)
-
css/CSSRevertValue.h (modified) (1 diff)
-
css/CSSUnsetValue.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r235982 r235986 1 2018-09-13 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 Remove the workaround for friend class LazyNeverDestroyed<X> statements for MSVC 4 https://bugs.webkit.org/show_bug.cgi?id=189576 5 6 Reviewed by Alex Christensen. 7 8 Old MSVC can't compile "friend class LazyNeverDestroyed<X>" 9 statements, but "friend LazyNeverDestroyed<X>". 10 11 No new tests (No behavior change). 12 13 * css/CSSInheritedValue.h: Removed the code for COMPILER(MSVC). 14 Removed 'class' keyword in "friend class LazyNeverDestroyed<X>" 15 statement. 16 * css/CSSInitialValue.h: Ditto. 17 * css/CSSPrimitiveValue.h: Ditto. 18 * css/CSSRevertValue.h: Ditto. 19 * css/CSSUnsetValue.h: Ditto. 20 1 21 2018-09-13 Ms2ger <Ms2ger@igalia.com> 2 22 -
trunk/Source/WebCore/css/CSSInheritedValue.h
r218588 r235986 31 31 bool equals(const CSSInheritedValue&) const { return true; } 32 32 33 #if COMPILER(MSVC)34 // FIXME: This should be private, but for some reason MSVC then fails to invoke it from LazyNeverDestroyed::construct.35 public:36 #else37 33 private: 38 friend class LazyNeverDestroyed<CSSInheritedValue>; 39 #endif 34 friend LazyNeverDestroyed<CSSInheritedValue>; 40 35 CSSInheritedValue() 41 36 : CSSValue(InheritedClass) -
trunk/Source/WebCore/css/CSSInitialValue.h
r218588 r235986 42 42 bool equals(const CSSInitialValue&) const { return true; } 43 43 44 #if COMPILER(MSVC)45 // FIXME: This should be private, but for some reason MSVC then fails to invoke it from LazyNeverDestroyed::construct.46 public:47 #else48 44 private: 49 friend class LazyNeverDestroyed<CSSInitialValue>; 50 #endif 45 friend LazyNeverDestroyed<CSSInitialValue>; 51 46 CSSInitialValue(bool implicit) 52 47 : CSSValue(InitialClass) -
trunk/Source/WebCore/css/CSSPrimitiveValue.h
r219744 r235986 289 289 Ref<DeprecatedCSSOMPrimitiveValue> createDeprecatedCSSOMPrimitiveWrapper(CSSStyleDeclaration&) const; 290 290 291 #if COMPILER(MSVC)292 // FIXME: This should be private, but for some reason MSVC then fails to invoke it from LazyNeverDestroyed::construct.293 public:294 #else295 291 private: 296 292 friend class CSSValuePool; 297 friend class LazyNeverDestroyed<CSSPrimitiveValue>; 298 #endif 293 friend LazyNeverDestroyed<CSSPrimitiveValue>; 299 294 300 295 CSSPrimitiveValue(CSSValueID); -
trunk/Source/WebCore/css/CSSRevertValue.h
r218588 r235986 36 36 bool equals(const CSSRevertValue&) const { return true; } 37 37 38 #if COMPILER(MSVC)39 // FIXME: This should be private, but for some reason MSVC then fails to invoke it from LazyNeverDestroyed::construct.40 public:41 #else42 38 private: 43 friend class LazyNeverDestroyed<CSSRevertValue>; 44 #endif 39 friend LazyNeverDestroyed<CSSRevertValue>; 45 40 CSSRevertValue() 46 41 : CSSValue(RevertClass) -
trunk/Source/WebCore/css/CSSUnsetValue.h
r218588 r235986 36 36 bool equals(const CSSUnsetValue&) const { return true; } 37 37 38 #if COMPILER(MSVC)39 // FIXME: This should be private, but for some reason MSVC then fails to invoke it from LazyNeverDestroyed::construct.40 public:41 #else42 38 private: 43 friend class LazyNeverDestroyed<CSSUnsetValue>; 44 #endif 39 friend LazyNeverDestroyed<CSSUnsetValue>; 45 40 CSSUnsetValue() 46 41 : CSSValue(UnsetClass)
Note:
See TracChangeset
for help on using the changeset viewer.