Index: content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.cc |
diff --git a/content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.cc b/content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.cc |
index a47784f86143c951948a9bb66edcd0443a936ac9..1e5240d9b97d161f44fad8d3cdb1bb438f07967e 100644 |
--- a/content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.cc |
+++ b/content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.cc |
@@ -27,7 +27,7 @@ ScreenOrientationDispatcherHostImpl::ScreenOrientationDispatcherHostImpl( |
WebContents* web_contents) |
: WebContentsObserver(web_contents), |
current_lock_(NULL) { |
- provider_.reset(ScreenOrientationProvider::Create(this, web_contents)); |
+ provider_.reset(new ScreenOrientationProvider(this, web_contents)); |
} |
ScreenOrientationDispatcherHostImpl::~ScreenOrientationDispatcherHostImpl() { |