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

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, 2 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 e828d1e3e0ad47a17769768190511f5d0de76522..c8f79893575a47a3d79f62fc1b66d20ebbb8947a 100644
--- a/third_party/WebKit/Source/core/css/cssom/WindowGetComputedStyle.h
+++ b/third_party/WebKit/Source/core/css/cssom/WindowGetComputedStyle.h
@@ -18,9 +18,7 @@ class WindowGetComputedStyle {
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