diff --git a/atom/browser/api/atom_api_web_contents.h b/atom/browser/api/atom_api_web_contents.h index f7425f640119..16f23210557c 100644 --- a/atom/browser/api/atom_api_web_contents.h +++ b/atom/browser/api/atom_api_web_contents.h @@ -230,7 +230,6 @@ class WebContents : public mate::TrackableObject, v8::Local Debugger(v8::Isolate* isolate); WebContentsZoomController* GetZoomController() { return zoom_controller_; } - AtomBrowserContext* GetBrowserContext() const; protected: WebContents(v8::Isolate* isolate, @@ -368,6 +367,8 @@ class WebContents : public mate::TrackableObject, const std::vector& labels); private: + AtomBrowserContext* GetBrowserContext() const; + uint32_t GetNextRequestId() { return ++request_id_; }