Index: content/renderer/renderer_webkitplatformsupport_impl.cc |
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc |
index ed8c78217ca66f9ed628700ea54175b3f80688b5..433cca128460c80fe3c84eeac8fa56c3714c8fa0 100644 |
--- a/content/renderer/renderer_webkitplatformsupport_impl.cc |
+++ b/content/renderer/renderer_webkitplatformsupport_impl.cc |
@@ -7,7 +7,6 @@ |
#include "base/command_line.h" |
#include "base/files/file_path.h" |
#include "base/lazy_instance.h" |
-#include "base/logging.h" |
#include "base/memory/shared_memory.h" |
#include "base/message_loop/message_loop_proxy.h" |
#include "base/metrics/histogram.h" |
@@ -1081,7 +1080,6 @@ |
// static |
void RendererWebKitPlatformSupportImpl::ResetMockScreenOrientationForTesting() |
{ |
- DCHECK(!(g_test_screen_orientation_controller == 0)); |
g_test_screen_orientation_controller.Get().ResetData(); |
} |
@@ -1166,10 +1164,9 @@ |
// static |
void RendererWebKitPlatformSupportImpl::SetMockScreenOrientationForTesting( |
- RenderView* render_view, |
blink::WebScreenOrientationType orientation) { |
g_test_screen_orientation_controller.Get() |
- .UpdateDeviceOrientation(render_view, orientation); |
+ .UpdateDeviceOrientation(orientation); |
} |
//------------------------------------------------------------------------------ |