Index: content/browser/screen_orientation/screen_orientation_dispatcher_host.cc |
diff --git a/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc b/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc |
index 5d77d6c88958a53857c1f404cc415da2cebc97b1..684873c9677a46fd9e2d07d662d6b786debc1f73 100644 |
--- a/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc |
+++ b/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc |
@@ -135,4 +135,9 @@ void ScreenOrientationDispatcherHost::OnUnlockRequest( |
provider_->UnlockOrientation(); |
} |
+void ScreenOrientationDispatcherHost::SetProvider( |
+ ScreenOrientationProvider* provider) { |
+ provider_.reset(provider); |
+} |
+ |
} // namespace content |