| Index: public/platform/modules/vr/WebVRClient.h
|
| diff --git a/public/platform/modules/vr/WebVRClient.h b/public/platform/modules/vr/WebVRClient.h
|
| index 8f120629e8f9cad369c32dc05fcfd805074c1c52..65aaa8d71076506b3194ecd838c3cd7d7194f173 100644
|
| --- a/public/platform/modules/vr/WebVRClient.h
|
| +++ b/public/platform/modules/vr/WebVRClient.h
|
| @@ -12,7 +12,11 @@
|
| namespace blink {
|
|
|
| // Success and failure callbacks for getDevices.
|
| -typedef WebCallbacks<WebVector<blink::WebVRDevice>*, void> WebVRGetDevicesCallback;
|
| +class WebVRGetDevicesCallback : public WebCallbacks<const WebVector<WebVRDevice>&, void> {
|
| +public:
|
| + virtual void onSuccess(const WebVector<WebVRDevice>&) = 0;
|
| + void onSuccess(WebVector<WebVRDevice>* r) { onSuccess(*r); }
|
| +};
|
|
|
| // Client handling VR device communication for a given WebFrame.
|
| class WebVRClient {
|
|
|