summaryrefslogtreecommitdiffstats
path: root/cc/nine_patch_layer_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/nine_patch_layer_unittest.cc')
-rw-r--r--cc/nine_patch_layer_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/nine_patch_layer_unittest.cc b/cc/nine_patch_layer_unittest.cc
index 8c04ea2..e63263f 100644
--- a/cc/nine_patch_layer_unittest.cc
+++ b/cc/nine_patch_layer_unittest.cc
@@ -65,7 +65,7 @@ protected:
TEST_F(NinePatchLayerTest, triggerFullUploadOnceWhenChangingBitmap)
{
- scoped_refptr<NinePatchLayer> testLayer = NinePatchLayer::create();
+ scoped_refptr<NinePatchLayer> testLayer = NinePatchLayer::Create();
ASSERT_TRUE(testLayer);
testLayer->setIsDrawable(true);
testLayer->setBounds(gfx::Size(100, 100));
@@ -90,7 +90,7 @@ TEST_F(NinePatchLayerTest, triggerFullUploadOnceWhenChangingBitmap)
SkBitmap bitmap;
bitmap.setConfig(SkBitmap::kARGB_8888_Config, 10, 10);
bitmap.allocPixels();
- testLayer->setBitmap(bitmap, gfx::Rect(5, 5, 1, 1));
+ testLayer->SetBitmap(bitmap, gfx::Rect(5, 5, 1, 1));
testLayer->setTexturePriorities(calculator);
testLayer->update(queue, &occlusionTracker, NULL);
EXPECT_EQ(queue.fullUploadSize(), 1);