diff options
Diffstat (limited to 'content/child/child_thread_impl_browsertest.cc')
-rw-r--r-- | content/child/child_thread_impl_browsertest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/child/child_thread_impl_browsertest.cc b/content/child/child_thread_impl_browsertest.cc index add820c..d6b82a8 100644 --- a/content/child/child_thread_impl_browsertest.cc +++ b/content/child/child_thread_impl_browsertest.cc @@ -16,7 +16,6 @@ #include "content/public/test/content_browser_test.h" #include "content/public/test/content_browser_test_utils.h" #include "content/shell/browser/shell.h" -#include "ui/gfx/buffer_format_util.h" #include "url/gurl.h" namespace content { @@ -158,7 +157,8 @@ IN_PROC_BROWSER_TEST_P(ChildThreadImplGpuMemoryBufferBrowserTest, ASSERT_TRUE(buffer); EXPECT_EQ(format, buffer->GetFormat()); - size_t num_planes = gfx::NumberOfPlanesForBufferFormat(format); + size_t num_planes = + GpuMemoryBufferImpl::NumberOfPlanesForGpuMemoryBufferFormat(format); // Map buffer planes. scoped_ptr<void* []> planes(new void* [num_planes]); |