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

Unified Diff: media/base/video_util.cc

Issue 12090109: Tab Capture: Backing store readbacks to YV12 VideoFrames. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a verb tense parallelism problem in a comment. Created 7 years, 10 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: media/base/video_util.cc
diff --git a/media/base/video_util.cc b/media/base/video_util.cc
index 4bef0adc88b1e92a17ff0e3e9fe3543ac646fce9..487c59521acd7bc8736412dfee697dd7d4f920e8 100644
--- a/media/base/video_util.cc
+++ b/media/base/video_util.cc
@@ -30,8 +30,8 @@ gfx::Size GetNaturalSize(const gfx::Size& visible_size,
return gfx::Size(width & ~1, height);
}
-static void CopyPlane(size_t plane, const uint8* source, int stride, int rows,
- VideoFrame* frame) {
+void CopyPlane(size_t plane, const uint8* source, int stride, int rows,
+ VideoFrame* frame) {
uint8* dest = frame->data(plane);
int dest_stride = frame->stride(plane);

Powered by Google App Engine
This is Rietveld 408576698