Index: cc/test/fake_scoped_ui_resource.cc |
diff --git a/cc/test/fake_scoped_ui_resource.cc b/cc/test/fake_scoped_ui_resource.cc |
index 02f0fa9b12f0201f82c4443400944a254a920721..ce5ee1127c885f19fa8767fdd36dd3a2a9f1009e 100644 |
--- a/cc/test/fake_scoped_ui_resource.cc |
+++ b/cc/test/fake_scoped_ui_resource.cc |
@@ -16,7 +16,10 @@ scoped_ptr<FakeScopedUIResource> FakeScopedUIResource::Create( |
FakeScopedUIResource::FakeScopedUIResource(LayerTreeHost* host) { |
ResetCounters(); |
bitmap_ = UIResourceBitmap::Create( |
- new uint8_t[1], UIResourceBitmap::RGBA8, gfx::Size(1, 1)); |
+ new uint8_t[1], |
+ UIResourceBitmap::RGBA8, |
+ UIResourceBitmap::CLAMP_TO_EDGE, |
+ gfx::Size(1, 1)); |
host_ = host; |
id_ = host_->CreateUIResource(this); |
} |