Skip to content
This repository was archived by the owner on Apr 3, 2020. It is now read-only.

Commit 97d5a4a

Browse files
author
Raphael Kubo da Costa
committed
1 parent 89a75eb commit 97d5a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Source/modules/webcl/WebCLHTMLUtil.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ PassRefPtr<Image> WebCLHTMLUtil::videoFrameToImage(HTMLVideoElement* video)
134134
return nullptr;
135135

136136
IntRect destRect(0, 0, size.width(), size.height());
137-
video->paintCurrentFrameInContext(imageBufferObject->context(), destRect);
137+
video->paintCurrentFrame(imageBufferObject->canvas(), destRect, nullptr);
138138
return imageBufferObject->copyImage();
139139
}
140140

0 commit comments

Comments
 (0)