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

Unified Diff: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp

Issue 2012753003: DevTools: consolidate protocol generators for front-end, backend and type builder. (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/modules/device_orientation/DeviceOrientationInspectorAgent.cpp
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp
index db796df93e4cfb1ae98181df926ef3caedda5a1c..b42a6ada5d96a687b06d217d020605e41cf5bba5 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp
@@ -30,15 +30,14 @@ DeviceOrientationInspectorAgent::~DeviceOrientationInspectorAgent()
}
DeviceOrientationInspectorAgent::DeviceOrientationInspectorAgent(Page& page)
- : InspectorBaseAgent<DeviceOrientationInspectorAgent, protocol::DeviceOrientation::Frontend>("DeviceOrientation")
- , m_page(&page)
+ : m_page(&page)
{
}
DEFINE_TRACE(DeviceOrientationInspectorAgent)
{
visitor->trace(m_page);
- InspectorBaseAgent<DeviceOrientationInspectorAgent, protocol::DeviceOrientation::Frontend>::trace(visitor);
+ InspectorBaseAgent::trace(visitor);
}
DeviceOrientationController& DeviceOrientationInspectorAgent::controller()

Powered by Google App Engine
This is Rietveld 408576698