Index: chrome/test/perf/rendering/throughput_tests.cc |
diff --git a/chrome/test/perf/rendering/throughput_tests.cc b/chrome/test/perf/rendering/throughput_tests.cc |
index 3c51b9f8660e032efbfa486efac1e1703b5c3004..76e1f9390bd1c2a38c009e3d43f770949d001a62 100644 |
--- a/chrome/test/perf/rendering/throughput_tests.cc |
+++ b/chrome/test/perf/rendering/throughput_tests.cc |
@@ -230,7 +230,8 @@ class ThroughputTest : public BrowserPerfTest { |
tab_contents_bounds.height()); |
gfx::NativeWindow native_window = browser()->window()->GetNativeWindow(); |
- if (!chrome::GrabWindowSnapshot(native_window, &png, snapshot_bounds)) { |
+ if (!chrome::GrabWindowSnapshotForUser(native_window, &png, |
+ snapshot_bounds)) { |
LOG(ERROR) << "browser::GrabWindowSnapShot() failed"; |
return false; |
} |