Chromium Code Reviews| Index: content/renderer/render_view_impl.cc |
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
| index 826e12121b8177e8839c95fe638babe5d07728ab..1d7dbd3af1af3603830e42ba6bde01a8c55e4207 100644 |
| --- a/content/renderer/render_view_impl.cc |
| +++ b/content/renderer/render_view_impl.cc |
| @@ -190,6 +190,7 @@ |
| #include "third_party/WebKit/public/platform/WebURLRequest.h" |
| #include "third_party/WebKit/public/platform/WebURLResponse.h" |
| #include "third_party/WebKit/public/platform/WebVector.h" |
| +#include "third_party/WebKit/public/web/WebTestingSupport.h" |
| #include "third_party/skia/include/core/SkBitmap.h" |
| #include "third_party/skia/include/core/SkPicture.h" |
| #include "ui/base/ui_base_switches_util.h" |
| @@ -3833,6 +3834,10 @@ void RenderViewImpl::didClearWindowObject(WebFrame* frame) { |
| stats_collection_controller_->BindToJavascript(frame, |
| "statsCollectionController"); |
| } |
| + |
| + if (CommandLine::ForCurrentProcess()->HasSwitch( |
| + switches::kExposeInternalsForTesting)) |
|
jam
2013/06/26 16:46:16
nit: indent 4 spaces here. also i think in general
Rick Byers
2013/06/26 17:32:05
It is 4 spaces already, right?
jam
2013/06/26 17:38:11
i mean more indentation, so that it's four spaces
|
| + WebKit::WebTestingSupport::injectInternalsObject(frame); |
| } |
| void RenderViewImpl::didCreateDocumentElement(WebFrame* frame) { |