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

Unified Diff: cc/prioritized_resource_unittest.cc

Issue 11450019: Finish the rename from cc::GraphicsContext to cc::OutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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
« cc/layer_tree_host.cc ('K') | « cc/output_surface.h ('k') | cc/proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/prioritized_resource_unittest.cc
diff --git a/cc/prioritized_resource_unittest.cc b/cc/prioritized_resource_unittest.cc
index 95bf7f990cec7709a0d2f59a9409a5c5cb3d039a..173fd14e0f4554309776a6996586d6aa143174e1 100644
--- a/cc/prioritized_resource_unittest.cc
+++ b/cc/prioritized_resource_unittest.cc
@@ -7,7 +7,7 @@
#include "cc/prioritized_resource_manager.h"
#include "cc/resource.h"
#include "cc/single_thread_proxy.h" // For DebugScopedSetImplThread
-#include "cc/test/fake_graphics_context.h"
+#include "cc/test/fake_output_surface.h"
#include "cc/test/fake_proxy.h"
#include "cc/test/tiled_layer_test_common.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -22,10 +22,10 @@ public:
: m_proxy(scoped_ptr<Thread>(NULL))
, m_textureSize(256, 256)
, m_textureFormat(GL_RGBA)
- , m_context(WebKit::createFakeGraphicsContext())
+ , m_outputSurface(createFakeOutputSurface())
{
DebugScopedSetImplThread implThread(&m_proxy);
- m_resourceProvider = ResourceProvider::create(m_context.get());
+ m_resourceProvider = ResourceProvider::create(m_outputSurface.get());
}
virtual ~PrioritizedResourceTest()
@@ -98,7 +98,7 @@ protected:
FakeProxy m_proxy;
const gfx::Size m_textureSize;
const GLenum m_textureFormat;
- scoped_ptr<GraphicsContext> m_context;
+ scoped_ptr<OutputSurface> m_outputSurface;
scoped_ptr<ResourceProvider> m_resourceProvider;
};
« cc/layer_tree_host.cc ('K') | « cc/output_surface.h ('k') | cc/proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698