Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index 16ff33bcc53b5f96fb4d0364ede94e62aaf3d812..bbb9fef43b386a99250eedd8a0630d676a36e1d2 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -77,6 +77,7 @@ |
#include "content/renderer/disambiguation_popup_helper.h" |
#include "content/renderer/dom_storage/webstoragenamespace_impl.h" |
#include "content/renderer/drop_data_builder.h" |
+#include "content/renderer/gpu/gpu_benchmarking_extension.h" |
#include "content/renderer/gpu/render_widget_compositor.h" |
#include "content/renderer/history_controller.h" |
#include "content/renderer/history_serialization.h" |
@@ -2381,6 +2382,9 @@ void RenderViewImpl::didClearWindowObject(WebLocalFrame* frame) { |
if (command_line.HasSwitch(switches::kEnableSkiaBenchmarking)) |
SkiaBenchmarking::Install(frame); |
+ if (command_line.HasSwitch(cc::switches::kEnableGpuBenchmarking)) |
+ GpuBenchmarking::Install(frame); |
+ |
if (command_line.HasSwitch(switches::kEnableMemoryBenchmarking)) |
MemoryBenchmarkingExtension::Install(frame); |
} |