Index: cc/layer_tree_host_unittest.cc |
diff --git a/cc/layer_tree_host_unittest.cc b/cc/layer_tree_host_unittest.cc |
index 896d5f57b4fdcaa1990b15dc20fd145ef52e810f..44abd8f8a451913ba807a5fd68ef9279cdd9e5ac 100644 |
--- a/cc/layer_tree_host_unittest.cc |
+++ b/cc/layer_tree_host_unittest.cc |
@@ -1040,7 +1040,7 @@ public: |
{ |
ASSERT_EQ(0u, m_layerTreeHost->settings().maxPartialTextureUpdates); |
- TestWebGraphicsContext3D* context = static_cast<TestWebGraphicsContext3D*>(impl->outputSurface()->Context3D()); |
+ TestWebGraphicsContext3D* context = static_cast<TestWebGraphicsContext3D*>(impl->outputSurface()->context3d()); |
switch (impl->activeTree()->source_frame_number()) { |
case 0: |
@@ -1082,7 +1082,7 @@ public: |
virtual void drawLayersOnThread(LayerTreeHostImpl* impl) OVERRIDE |
{ |
- TestWebGraphicsContext3D* context = static_cast<TestWebGraphicsContext3D*>(impl->outputSurface()->Context3D()); |
+ TestWebGraphicsContext3D* context = static_cast<TestWebGraphicsContext3D*>(impl->outputSurface()->context3d()); |
// Number of textures used for draw should always be one for each layer. |
EXPECT_EQ(2, context->NumUsedTextures()); |
@@ -1172,7 +1172,7 @@ public: |
{ |
ASSERT_EQ(1u, m_layerTreeHost->settings().maxPartialTextureUpdates); |
- TestWebGraphicsContext3D* context = static_cast<TestWebGraphicsContext3D*>(impl->outputSurface()->Context3D()); |
+ TestWebGraphicsContext3D* context = static_cast<TestWebGraphicsContext3D*>(impl->outputSurface()->context3d()); |
switch (impl->activeTree()->source_frame_number()) { |
case 0: |
@@ -1257,7 +1257,7 @@ public: |
virtual void drawLayersOnThread(LayerTreeHostImpl* impl) OVERRIDE |
{ |
- TestWebGraphicsContext3D* context = static_cast<TestWebGraphicsContext3D*>(impl->outputSurface()->Context3D()); |
+ TestWebGraphicsContext3D* context = static_cast<TestWebGraphicsContext3D*>(impl->outputSurface()->context3d()); |
// Number of textures used for drawing should one per layer except for |
// frame 3 where the viewport only contains one layer. |