Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/HTMLImageElement.h |
| diff --git a/third_party/WebKit/Source/core/html/HTMLImageElement.h b/third_party/WebKit/Source/core/html/HTMLImageElement.h |
| index 429a0bce4a9a1c7c432e2ce95b4f6a2681267d84..259ce1116b3834b758eb4439990b994cc7ae0380 100644 |
| --- a/third_party/WebKit/Source/core/html/HTMLImageElement.h |
| +++ b/third_party/WebKit/Source/core/html/HTMLImageElement.h |
| @@ -83,8 +83,8 @@ class CORE_EXPORT HTMLImageElement final |
| ImageResource* CachedImageResourceForImageDocument() const { |
| return GetImageLoader().ImageResourceForImageDocument(); |
| } |
| - void SetImageResource(ImageResourceContent* i) { |
| - GetImageLoader().SetImage(i); |
| + void SetImageForTest(ImageResourceContent* i) { |
|
fs
2017/05/09 08:29:55
Maybe rename |i| to something more appropriate her
hiroshige
2017/05/09 23:07:57
Done.
|
| + GetImageLoader().SetImageForTest(i); |
| } |
| void SetLoadingImageDocument() { GetImageLoader().SetLoadingImageDocument(); } |