summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webkit/mocks/mock_webframe.cc2
-rw-r--r--webkit/mocks/mock_webframe.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/webkit/mocks/mock_webframe.cc b/webkit/mocks/mock_webframe.cc
index 4bb058b..63f996c 100644
--- a/webkit/mocks/mock_webframe.cc
+++ b/webkit/mocks/mock_webframe.cc
@@ -70,7 +70,7 @@ WebFrame* MockWebFrame::opener() const {
return NULL;
}
-void MockWebFrame::clearOpener() const {
+void MockWebFrame::clearOpener() {
}
WebFrame* MockWebFrame::parent() const {
diff --git a/webkit/mocks/mock_webframe.h b/webkit/mocks/mock_webframe.h
index a1368b5..1ab2bfb 100644
--- a/webkit/mocks/mock_webframe.h
+++ b/webkit/mocks/mock_webframe.h
@@ -78,7 +78,7 @@ class MockWebFrame : public WebKit::WebFrame {
virtual bool hasVisibleContent() const;
virtual WebView* view() const;
virtual WebFrame* opener() const;
- virtual void clearOpener() const;
+ virtual void clearOpener();
virtual WebFrame* parent() const;
virtual WebFrame* top() const;
virtual WebFrame* firstChild() const;