| Index: Source/core/page/PageConsole.h
|
| diff --git a/Source/core/page/PageConsole.h b/Source/core/page/PageConsole.h
|
| index b62d1922ed15be0930a0373a6b3a8742354cb11c..1a6e21a59dd8b0ccdf50dd3b466b71964d3eacbc 100644
|
| --- a/Source/core/page/PageConsole.h
|
| +++ b/Source/core/page/PageConsole.h
|
| @@ -37,11 +37,11 @@
|
|
|
| namespace WebCore {
|
|
|
| -class Page;
|
| +class FrameHost;
|
|
|
| class PageConsole FINAL {
|
| public:
|
| - static PassOwnPtr<PageConsole> create(Page* page) { return adoptPtr(new PageConsole(page)); }
|
| + static PassOwnPtr<PageConsole> create(FrameHost& host) { return adoptPtr(new PageConsole(host)); }
|
|
|
| void addMessage(MessageSource, MessageLevel, const String& message);
|
| void addMessage(MessageSource, MessageLevel, const String& message, const String& sourceURL, unsigned lineNumber, unsigned columnNumber = 0, PassRefPtr<ScriptCallStack> = 0, ScriptState* = 0, unsigned long requestIdentifier = 0);
|
| @@ -52,9 +52,9 @@ public:
|
| static void unmute();
|
|
|
| private:
|
| - explicit PageConsole(Page*);
|
| + explicit PageConsole(FrameHost&);
|
|
|
| - Page* m_page;
|
| + FrameHost& m_frameHost;
|
| };
|
|
|
| } // namespace WebCore
|
|
|