Index: third_party/WebKit/Source/core/css/CSSStyleSheetResourceTest.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSStyleSheetResourceTest.cpp b/third_party/WebKit/Source/core/css/CSSStyleSheetResourceTest.cpp |
index b978d473a7f29c5f4558e4cb9688237b37233f57..aa4a2808cb3a7c84f44585e6b99d58d58e3c3c0a 100644 |
--- a/third_party/WebKit/Source/core/css/CSSStyleSheetResourceTest.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSStyleSheetResourceTest.cpp |
@@ -93,8 +93,7 @@ TEST_F(CSSStyleSheetResourceTest, PruneCanCauseEviction) |
contents->parserAppendRule( |
StyleRule::create(CSSSelectorList::adoptSelectorVector(selectors), ImmutableStylePropertySet::create(&property, 1, HTMLStandardMode))); |
- // TODO(rune@opera.com): loadSubimages should take Document&. |
- crossfade->loadSubimages(&document()); |
+ crossfade->loadSubimages(document()); |
Resource* imageResource = memoryCache()->resourceForURL(imageURL, MemoryCache::defaultCacheIdentifier()); |
ASSERT_TRUE(imageResource); |
ResourceResponse imageResponse; |