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

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

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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/DevToolsEmulator.cpp
diff --git a/third_party/WebKit/Source/web/DevToolsEmulator.cpp b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
index e3f8ce90e4eae1afe9e86c579be5acb22e2634b8..88b57b9d12fd07374aa593bafdc44f8645ccae45 100644
--- a/third_party/WebKit/Source/web/DevToolsEmulator.cpp
+++ b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
@@ -500,9 +500,10 @@ bool DevToolsEmulator::handleInputEvent(const WebInputEvent& inputEvent) {
frameView, static_cast<const WebGestureEvent&>(inputEvent));
float pageScaleFactor = page->pageScaleFactor();
if (gestureEvent.type() == PlatformEvent::GesturePinchBegin) {
- m_lastPinchAnchorCss = wrapUnique(new IntPoint(roundedIntPoint(
+ m_lastPinchAnchorCss = WTF::wrapUnique(new IntPoint(roundedIntPoint(
gestureEvent.position() + frameView->getScrollOffset())));
- m_lastPinchAnchorDip = wrapUnique(new IntPoint(gestureEvent.position()));
+ m_lastPinchAnchorDip =
+ WTF::wrapUnique(new IntPoint(gestureEvent.position()));
m_lastPinchAnchorDip->scale(pageScaleFactor, pageScaleFactor);
}
if (gestureEvent.type() == PlatformEvent::GesturePinchUpdate &&

Powered by Google App Engine
This is Rietveld 408576698