Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutVideo.cpp

Issue 1728313003: Split ImageResourceClient into ResourceClient and ImageResourceObserver [2/2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and reflect comment Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutVideo.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutVideo.cpp b/third_party/WebKit/Source/core/layout/LayoutVideo.cpp
index 7c04530985119d4ff3801ab74874bbe0b6a7e542..a3826207b660b9b8e7e35d0002423c566beaf22f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutVideo.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutVideo.cpp
@@ -109,9 +109,9 @@ LayoutSize LayoutVideo::calculateIntrinsicSize()
return defaultSize();
}
-void LayoutVideo::imageChanged(WrappedImagePtr newImage, const IntRect* rect)
+void LayoutVideo::imageChanged(bool isNotifyingFinish, WrappedImagePtr newImage, const IntRect* rect)
{
- LayoutMedia::imageChanged(newImage, rect);
+ LayoutMedia::imageChanged(isNotifyingFinish, newImage, rect);
// Cache the image intrinsic size so we can continue to use it to draw the image correctly
// even if we know the video intrinsic size but aren't able to draw video frames yet

Powered by Google App Engine
This is Rietveld 408576698