Index: content/common/child_thread.cc |
diff --git a/content/common/child_thread.cc b/content/common/child_thread.cc |
index 9152a447e2db70c07776b06cdee9f5c92ece54ff..4f0267844fbc7e5f7e42aa9affba446c8fa16a29 100644 |
--- a/content/common/child_thread.cc |
+++ b/content/common/child_thread.cc |
@@ -22,6 +22,7 @@ |
#include "ipc/ipc_sync_channel.h" |
#include "ipc/ipc_sync_message_filter.h" |
#include "ipc/ipc_switches.h" |
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
jam
2012/02/11 02:32:07
nit: not needed
dgrogan
2012/02/11 03:03:26
Done.
|
#include "webkit/glue/webkit_glue.h" |
#if defined(OS_WIN) |
@@ -252,6 +253,11 @@ ChildThread* ChildThread::current() { |
return ChildProcess::current()->main_thread(); |
} |
+bool ChildThread::IsWebFrameValid(WebKit::WebFrame* frame) { |
+ // Return false so that it is overridden in any process in which it is used. |
+ return false; |
+} |
+ |
void ChildThread::OnProcessFinalRelease() { |
if (on_channel_error_called_) { |
MessageLoop::current()->Quit(); |