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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp

Issue 2686033005: Move metafile printing code from platform canvas to PaintCanvas (Closed)
Patch Set: Created 3 years, 10 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/platform/graphics/GraphicsContext.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
index 172b402ba4606ff48e278205fe947285d5e63bdf..1b261ff21dabbe6cb68f58f1627a0ded4a90f61e 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
@@ -272,7 +272,7 @@ void GraphicsContext::beginRecording(const FloatRect& bounds) {
DCHECK(!m_canvas);
m_canvas = m_pictureRecorder.beginRecording(bounds, nullptr);
if (m_hasMetaData)
- skia::GetMetaData(*m_canvas) = m_metaData;
+ m_canvas->getMetaData() = m_metaData;
}
namespace {

Powered by Google App Engine
This is Rietveld 408576698