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

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

Issue 2080363002: Rename Geometry.h to PaintSize.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reorder global-interface-listing-paint-worklet-expected.txt Created 4 years, 6 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 c9573219aea2a2a1cd930ea17335a1286e5ec13a..7da77ddd4e7984fc8c4db12c8f2b3bfb11788796 100644
--- a/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.cpp
+++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.cpp
@@ -12,8 +12,8 @@
#include "core/css/cssom/FilteredComputedStylePropertyMap.h"
#include "core/dom/ExecutionContext.h"
#include "core/layout/LayoutObject.h"
-#include "modules/csspaint/Geometry.h"
#include "modules/csspaint/PaintRenderingContext2D.h"
+#include "modules/csspaint/PaintSize.h"
#include "platform/graphics/ImageBuffer.h"
#include "platform/graphics/PaintGeneratedImage.h"
#include "platform/graphics/RecordingImageBufferSurface.h"
@@ -57,14 +57,14 @@ PassRefPtr<Image> CSSPaintDefinition::paint(const LayoutObject& layoutObject, co
PaintRenderingContext2D* renderingContext = PaintRenderingContext2D::create(
ImageBuffer::create(wrapUnique(new RecordingImageBufferSurface(size))));
- Geometry* geometry = Geometry::create(size);
+ PaintSize* paintSize = PaintSize::create(size);
StylePropertyMap* styleMap = FilteredComputedStylePropertyMap::create(
CSSComputedStyleDeclaration::create(layoutObject.node()),
m_nativeInvalidationProperties, m_customInvalidationProperties);
v8::Local<v8::Value> argv[] = {
toV8(renderingContext, m_scriptState->context()->Global(), isolate),
- toV8(geometry, m_scriptState->context()->Global(), isolate),
+ toV8(paintSize, m_scriptState->context()->Global(), isolate),
toV8(styleMap, m_scriptState->context()->Global(), isolate)
};

Powered by Google App Engine
This is Rietveld 408576698