| Index: content/renderer/device_orientation_dispatcher.h
|
| diff --git a/content/renderer/device_orientation_dispatcher.h b/content/renderer/device_orientation_dispatcher.h
|
| index 0f80c2635c06e7db8a918dacc0486e4f2a0723e1..baf69194a67d4a4fd014e35ddda514abbbb8bf44 100644
|
| --- a/content/renderer/device_orientation_dispatcher.h
|
| +++ b/content/renderer/device_orientation_dispatcher.h
|
| @@ -6,16 +6,13 @@
|
| #define CONTENT_RENDERER_DEVICE_ORIENTATION_DISPATCHER_H_
|
|
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebDeviceOrientationClient.h"
|
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebDeviceOrientation.h"
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| #include "content/public/renderer/render_view_observer.h"
|
|
|
| class RenderViewImpl;
|
|
|
| -namespace WebKit {
|
| -class WebDeviceOrientation;
|
| -}
|
| -
|
| struct DeviceOrientationMsg_Updated_Params;
|
|
|
| class DeviceOrientationDispatcher : public content::RenderViewObserver,
|
| @@ -39,7 +36,7 @@ class DeviceOrientationDispatcher : public content::RenderViewObserver,
|
| const DeviceOrientationMsg_Updated_Params& p);
|
|
|
| scoped_ptr<WebKit::WebDeviceOrientationController> controller_;
|
| - scoped_ptr<WebKit::WebDeviceOrientation> last_orientation_;
|
| + WebKit::WebDeviceOrientation last_orientation_;
|
| bool started_;
|
| };
|
|
|
|
|