Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(538)

Unified Diff: third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h
diff --git a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h
index c25c05afb10dbb3cfa55501ad0f691125ae043c0..120d298832382e6b31175421715d7e31e03ea350 100644
--- a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h
+++ b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h
@@ -41,7 +41,7 @@ class StyleSheetContents;
class AbstractPropertySetCSSStyleDeclaration : public CSSStyleDeclaration {
public:
- virtual Element* parentElement() const { return 0; }
+ virtual Element* parentElement() const { return nullptr; }
StyleSheetContents* contextStyleSheet() const;
DECLARE_VIRTUAL_TRACE();
@@ -127,10 +127,7 @@ protected:
class InlineCSSStyleDeclaration final : public AbstractPropertySetCSSStyleDeclaration {
public:
- explicit InlineCSSStyleDeclaration(Element* parentElement)
- : m_parentElement(parentElement)
- {
- }
+ explicit InlineCSSStyleDeclaration(Element* parentElement);
DECLARE_VIRTUAL_TRACE();
@@ -141,7 +138,7 @@ private:
void deref() override;
#endif
CSSStyleSheet* parentStyleSheet() const override;
- Element* parentElement() const override { return m_parentElement; }
+ Element* parentElement() const override;
void didMutate(MutationType) override;
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFace.cpp ('k') | third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698