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

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

Issue 1165553007: Remove unused GC::beginRecording flags (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « Source/platform/graphics/GraphicsContext.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GraphicsContext.cpp
diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp
index 6e0d04afe53013f1eb2edd9e1ea2bf2340116e78..8692b2aea7d53b6353bb38be0debc06c47a18c13 100644
--- a/Source/platform/graphics/GraphicsContext.cpp
+++ b/Source/platform/graphics/GraphicsContext.cpp
@@ -438,19 +438,19 @@ void GraphicsContext::endLayer()
ASSERT(m_layerCount-- > 0);
}
-void GraphicsContext::beginRecording(const FloatRect& bounds, uint32_t recordFlags)
+void GraphicsContext::beginRecording(const FloatRect& bounds)
{
if (contextDisabled())
return;
if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
- m_canvas = m_pictureRecorder.beginRecording(bounds, 0, recordFlags);
+ m_canvas = m_pictureRecorder.beginRecording(bounds, 0);
return;
}
m_recordingStateStack.append(
RecordingState::Create(m_canvas, getTotalMatrix()));
- m_canvas = m_recordingStateStack.last()->recorder().beginRecording(bounds, 0, recordFlags);
+ m_canvas = m_recordingStateStack.last()->recorder().beginRecording(bounds, 0);
}
PassRefPtr<const SkPicture> GraphicsContext::endRecording()
« no previous file with comments | « Source/platform/graphics/GraphicsContext.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698