Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(870)

Unified Diff: content/child/child_thread_impl_browsertest.cc

Issue 1281043006: Move NumberOfPlanesForGpuMemoryBufferFormat to gfx (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build warning again Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..99618ccce8e702f98669882e077f1ea6721e7c53 100644
--- a/content/child/child_thread_impl_browsertest.cc
+++ b/content/child/child_thread_impl_browsertest.cc
@@ -157,8 +157,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::GpuMemoryBuffer::NumberOfPlanes(format);
// Map buffer planes.
scoped_ptr<void* []> planes(new void* [num_planes]);

Powered by Google App Engine
This is Rietveld 408576698