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

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

Issue 2011783002: Rename OwnPtr::clear() to reset() in platform/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 008f0652626c5fe26a2b4a5bac049c32b48286ed..b5ea4ac8f76eed68a9770771e3cfc9549b44f187 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
@@ -181,7 +181,7 @@ void GraphicsContext::setShadow(const FloatSize& offset, float blur, const Color
// to disable rendering of the source primitive. When not shadow-only, we
// clear the looper.
if (shadowMode != DrawShadowOnly)
- drawLooperBuilder.clear();
+ drawLooperBuilder.reset();
setDrawLooper(std::move(drawLooperBuilder));
return;

Powered by Google App Engine
This is Rietveld 408576698