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

Unified Diff: third_party/WebKit/Source/core/css/cssom/WindowGetComputedStyle.h

Issue 2312293003: [CSSTypedOM] Computed StylePropertyMap use ComputedStyle for Lengths (Closed)
Patch Set: Rebase Created 4 years, 3 months 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/cssom/WindowGetComputedStyle.h
diff --git a/third_party/WebKit/Source/core/css/cssom/WindowGetComputedStyle.h b/third_party/WebKit/Source/core/css/cssom/WindowGetComputedStyle.h
index 1fa20e89dd1043c07a060c5b3586906cee6e5a35..c2b2faf6e320a6a97bd38b781f729c05f2c99e49 100644
--- a/third_party/WebKit/Source/core/css/cssom/WindowGetComputedStyle.h
+++ b/third_party/WebKit/Source/core/css/cssom/WindowGetComputedStyle.h
@@ -16,8 +16,7 @@ public:
static StylePropertyMap* getComputedStyleMap(const DOMWindow&, Element* element, const String& pseudoElement)
{
DCHECK(element);
- CSSComputedStyleDeclaration* computedStyleDeclaration = CSSComputedStyleDeclaration::create(element, false, pseudoElement);
- return ComputedStylePropertyMap::create(computedStyleDeclaration);
+ return ComputedStylePropertyMap::create(element, pseudoElement);
}
};

Powered by Google App Engine
This is Rietveld 408576698