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

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

Issue 2312293003: [CSSTypedOM] Computed StylePropertyMap use ComputedStyle for Lengths (Closed)
Patch Set: Fixed unit test 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..f44177b23760206379eca13d16eec81f93227610 100644
--- a/third_party/WebKit/Source/core/css/cssom/WindowGetComputedStyle.h
+++ b/third_party/WebKit/Source/core/css/cssom/WindowGetComputedStyle.h
@@ -17,7 +17,7 @@ public:
{
DCHECK(element);
CSSComputedStyleDeclaration* computedStyleDeclaration = CSSComputedStyleDeclaration::create(element, false, pseudoElement);
- return ComputedStylePropertyMap::create(computedStyleDeclaration);
+ return ComputedStylePropertyMap::create(computedStyleDeclaration, element);
}
};

Powered by Google App Engine
This is Rietveld 408576698