Index: chrome/test/gpu/gpu_pixel_browsertest.cc |
diff --git a/chrome/test/gpu/gpu_pixel_browsertest.cc b/chrome/test/gpu/gpu_pixel_browsertest.cc |
index 0fae72c35c236105cea5044ec88fb2ab96b17cdd..71d9478d266b6e6eae33687ae5e4e511292fd64b 100644 |
--- a/chrome/test/gpu/gpu_pixel_browsertest.cc |
+++ b/chrome/test/gpu/gpu_pixel_browsertest.cc |
@@ -21,6 +21,7 @@ |
#include "chrome/test/base/ui_test_utils.h" |
#include "content/public/browser/render_view_host.h" |
#include "content/public/browser/web_contents.h" |
+#include "content/public/browser/web_contents_view.h" |
#include "content/public/common/content_paths.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/test/browser_test_utils.h" |
@@ -392,8 +393,8 @@ class GpuPixelBrowserTest : public InProcessBrowserTest { |
gfx::Rect root_bounds = browser()->window()->GetBounds(); |
gfx::Rect tab_contents_bounds; |
- browser()->tab_strip_model()->GetActiveWebContents()->GetContainerBounds( |
- &tab_contents_bounds); |
+ browser()->tab_strip_model()->GetActiveWebContents()->GetView()-> |
+ GetContainerBounds(&tab_contents_bounds); |
gfx::Rect snapshot_bounds(tab_contents_bounds.x() - root_bounds.x(), |
tab_contents_bounds.y() - root_bounds.y(), |