| Index: public/platform/Platform.h
|
| diff --git a/public/platform/Platform.h b/public/platform/Platform.h
|
| index 8719bbd054a1fe29065cd74af81621532a6a02a1..de277ac4f00ad928866f4ef2b49520afa39a3015 100644
|
| --- a/public/platform/Platform.h
|
| +++ b/public/platform/Platform.h
|
| @@ -639,8 +639,12 @@ public:
|
| // Request a screen orientation lock and pass a |callback| object to be used
|
| // to notify of success/failure. The |callback| parameter is expected to be
|
| // owned by the implementation.
|
| - virtual void lockOrientation(WebScreenOrientationLockType, WebLockOrientationCallback* callback)
|
| + virtual void lockOrientation(WebScreenOrientationLockType orientation, WebLockOrientationCallback* callback)
|
| {
|
| + // FIXME: remove this when
|
| + // lockOrientation(orientation, callback) will be handled in Chromium.
|
| + lockOrientation(orientation);
|
| +
|
| delete callback; // prevents memory leak if there is no implementation.
|
| }
|
| virtual void unlockOrientation() { }
|
|
|