Index: content/child/child_thread_impl_browsertest.cc |
diff --git a/content/child/child_thread_impl_browsertest.cc b/content/child/child_thread_impl_browsertest.cc |
index d6b82a80af4c24023e061d8b1108dd637329c333..add820cefe96b0d5eccc665a4f3b58228aa2b748 100644 |
--- a/content/child/child_thread_impl_browsertest.cc |
+++ b/content/child/child_thread_impl_browsertest.cc |
@@ -16,6 +16,7 @@ |
#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 { |
@@ -157,8 +158,7 @@ IN_PROC_BROWSER_TEST_P(ChildThreadImplGpuMemoryBufferBrowserTest, |
ASSERT_TRUE(buffer); |
EXPECT_EQ(format, buffer->GetFormat()); |
- size_t num_planes = |
- GpuMemoryBufferImpl::NumberOfPlanesForGpuMemoryBufferFormat(format); |
+ size_t num_planes = gfx::NumberOfPlanesForBufferFormat(format); |
// Map buffer planes. |
scoped_ptr<void* []> planes(new void* [num_planes]); |