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

Unified Diff: third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.cpp

Issue 2403423002: [CSSTypedOM] Computed StylePropertyMap use ComputedStyle for Lengths (Closed)
Patch Set: sasha's comments Created 3 years, 11 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/modules/csspaint/CSSPaintDefinition.cpp
diff --git a/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.cpp b/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.cpp
index 1a0624c9d369bc39938a1d0dfd92990f130e75f3..63cb520e90d7ead9f951eb4d9df4881718cd2a22 100644
--- a/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.cpp
+++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.cpp
@@ -90,7 +90,8 @@ PassRefPtr<Image> CSSPaintDefinition::paint(const LayoutObject& layoutObject,
PaintSize* paintSize = PaintSize::create(specifiedSize);
StylePropertyMap* styleMap = FilteredComputedStylePropertyMap::create(
CSSComputedStyleDeclaration::create(layoutObject.node()),
- m_nativeInvalidationProperties, m_customInvalidationProperties);
+ m_nativeInvalidationProperties, m_customInvalidationProperties,
+ layoutObject.node());
v8::Local<v8::Value> argv[] = {
toV8(renderingContext, m_scriptState->context()->Global(), isolate),

Powered by Google App Engine
This is Rietveld 408576698