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

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

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable 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.cpp
diff --git a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp
index 417d46fd060ff94838dc87445f90bf5f583a87d4..3abfbc33959cc7cff27a2791e66d3d42d53c30b1 100644
--- a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp
+++ b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp
@@ -349,11 +349,6 @@ DEFINE_TRACE(StyleRuleCSSStyleDeclaration)
PropertySetCSSStyleDeclaration::trace(visitor);
}
-InlineCSSStyleDeclaration::InlineCSSStyleDeclaration(Element* parentElement)
- : m_parentElement(parentElement)
-{
-}
-
MutableStylePropertySet& InlineCSSStyleDeclaration::propertySet() const
{
return m_parentElement->ensureMutableInlineStyle();
@@ -378,11 +373,6 @@ CSSStyleSheet* InlineCSSStyleDeclaration::parentStyleSheet() const
return m_parentElement ? &m_parentElement->document().elementSheet() : nullptr;
}
-Element* InlineCSSStyleDeclaration::parentElement() const
-{
- return m_parentElement;
-}
-
#if !ENABLE(OILPAN)
void InlineCSSStyleDeclaration::ref()
{

Powered by Google App Engine
This is Rietveld 408576698