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

Unified Diff: content/shell/renderer/test_runner/mock_screen_orientation_client.cc

Issue 596623002: Fix orientation change callbacks to go through WebLocalFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove DCHECKs Created 6 years, 3 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: content/shell/renderer/test_runner/mock_screen_orientation_client.cc
diff --git a/content/shell/renderer/test_runner/mock_screen_orientation_client.cc b/content/shell/renderer/test_runner/mock_screen_orientation_client.cc
index fced26290e714e69c7f79c6b41ccdc65ec3b345f..04b471096654da64f5ca4077ffadad59419533a3 100644
--- a/content/shell/renderer/test_runner/mock_screen_orientation_client.cc
+++ b/content/shell/renderer/test_runner/mock_screen_orientation_client.cc
@@ -7,7 +7,7 @@
#include "base/bind.h"
#include "base/logging.h"
#include "base/message_loop/message_loop.h"
-#include "third_party/WebKit/public/web/WebFrame.h"
+#include "third_party/WebKit/public/web/WebLocalFrame.h"
namespace content {
@@ -28,7 +28,7 @@ void MockScreenOrientationClient::ResetData() {
}
void MockScreenOrientationClient::UpdateDeviceOrientation(
- blink::WebFrame* main_frame,
+ blink::WebLocalFrame* main_frame,
blink::WebScreenOrientationType orientation) {
main_frame_ = main_frame;
if (device_orientation_ == orientation)
« no previous file with comments | « content/shell/renderer/test_runner/mock_screen_orientation_client.h ('k') | content/shell/renderer/webkit_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698