| Index: content/child/child_thread.cc
|
| diff --git a/content/child/child_thread.cc b/content/child/child_thread.cc
|
| index 5b54ee041f9b9c0198bdb90a4da2208eee7b8849..13af995b7f08f54194619e439e535024f5f9b156 100644
|
| --- a/content/child/child_thread.cc
|
| +++ b/content/child/child_thread.cc
|
| @@ -39,6 +39,7 @@
|
| #include "ipc/ipc_switches.h"
|
| #include "ipc/ipc_sync_channel.h"
|
| #include "ipc/ipc_sync_message_filter.h"
|
| +#include "v8/include/v8.h"
|
|
|
| #if defined(OS_WIN)
|
| #include "content/common/handle_enumerator_win.h"
|
| @@ -279,6 +280,10 @@ void ChildThread::Shutdown() {
|
| quota_dispatcher_.reset();
|
| }
|
|
|
| +void ChildThread::SetJavaScriptFlags(const std::string& str) {
|
| + v8::V8::SetFlagsFromString(str.data(), static_cast<int>(str.size()));
|
| +}
|
| +
|
| void ChildThread::OnChannelConnected(int32 peer_pid) {
|
| channel_connected_factory_.InvalidateWeakPtrs();
|
| }
|
|
|