| Index: content/public/browser/web_contents_observer.h
|
| diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
|
| index f264392a348fabf35c0ee16d0a6502ab747a775f..65bddd95614a28ec4bc47e47b6ee1567ca91a019 100644
|
| --- a/content/public/browser/web_contents_observer.h
|
| +++ b/content/public/browser/web_contents_observer.h
|
| @@ -336,6 +336,8 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
|
| virtual bool Send(IPC::Message* message) OVERRIDE;
|
| int routing_id() const;
|
|
|
| + WebContents* web_contents() const;
|
| +
|
| protected:
|
| // Use this constructor when the object is tied to a single WebContents for
|
| // its entire lifetime.
|
| @@ -351,8 +353,6 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
|
| // Start observing a different WebContents; used with the default constructor.
|
| void Observe(WebContents* web_contents);
|
|
|
| - WebContents* web_contents() const;
|
| -
|
| private:
|
| friend class WebContentsImpl;
|
|
|
|
|