summaryrefslogtreecommitdiffstats
path: root/content/child/child_thread_impl_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/child/child_thread_impl_browsertest.cc')
-rw-r--r--content/child/child_thread_impl_browsertest.cc4
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 d6b82a8..add820c 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]);