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

Unified Diff: third_party/WebKit/Source/web/InspectorOverlay.cpp

Issue 2014493002: Rename OwnPtr::clear() to reset() in web/. (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/web/InspectorOverlay.cpp
diff --git a/third_party/WebKit/Source/web/InspectorOverlay.cpp b/third_party/WebKit/Source/web/InspectorOverlay.cpp
index ecb27950cd906eedafc7fd3f23d5f7dcac47930b..422a03711d91592952646590f325543c8f3ba642 100644
--- a/third_party/WebKit/Source/web/InspectorOverlay.cpp
+++ b/third_party/WebKit/Source/web/InspectorOverlay.cpp
@@ -301,7 +301,7 @@ void InspectorOverlay::hideHighlight()
{
m_highlightNode.clear();
m_eventTargetNode.clear();
- m_highlightQuad.clear();
+ m_highlightQuad.reset();
scheduleUpdate();
}
@@ -367,7 +367,7 @@ void InspectorOverlay::scheduleUpdate()
{
if (isEmpty()) {
if (m_pageOverlay)
- m_pageOverlay.clear();
+ m_pageOverlay.reset();
return;
}
m_needsUpdate = true;
« no previous file with comments | « third_party/WebKit/Source/web/ExternalPopupMenu.cpp ('k') | third_party/WebKit/Source/web/LinkHighlightImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698