| Index: sky/viewer/document_view.h
|
| diff --git a/sky/viewer/document_view.h b/sky/viewer/document_view.h
|
| index b580c5f49cb0e22a7e65c531db0997fd11161ac9..0d4006c1c4ca701314732994cd0ac5f08ddff01a 100644
|
| --- a/sky/viewer/document_view.h
|
| +++ b/sky/viewer/document_view.h
|
| @@ -70,6 +70,8 @@ class DocumentView : public blink::ServiceProvider,
|
|
|
| void StartDebuggerInspectorBackend();
|
|
|
| + void GetPixelsForTesting(std::vector<unsigned char>* pixels);
|
| +
|
| private:
|
| // WebWidgetClient methods:
|
| void initializeLayerTreeView() override;
|
| @@ -129,9 +131,9 @@ class DocumentView : public blink::ServiceProvider,
|
| scoped_ptr<ScriptRunner> script_runner_;
|
| scoped_ptr<InspectorHostImpl> inspector_host_;
|
| scoped_ptr<inspector::InspectorBackendMojo> inspector_backend_;
|
| + base::WeakPtrFactory<DocumentView> weak_factory_;
|
| int debugger_id_;
|
|
|
| - base::WeakPtrFactory<DocumentView> weak_factory_;
|
| DISALLOW_COPY_AND_ASSIGN(DocumentView);
|
| };
|
|
|
|
|