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

Unified Diff: media/base/mac/video_frame_mac.cc

Issue 2781283002: Rename functions in video frame to comply with Style Guide (Closed)
Patch Set: Fixed compilation errors for MAC Created 3 years, 8 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
« no previous file with comments | « no previous file | media/base/mac/video_frame_mac_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mac/video_frame_mac.cc
diff --git a/media/base/mac/video_frame_mac.cc b/media/base/mac/video_frame_mac.cc
index 2f06aabbbaac85c0c5d1b5d90ac77ae93c79f21b..e299bf2fadb3f77dae937898884cbd8f4f45d7be 100644
--- a/media/base/mac/video_frame_mac.cc
+++ b/media/base/mac/video_frame_mac.cc
@@ -35,8 +35,8 @@ WrapVideoFrameInCVPixelBuffer(const VideoFrame& frame) {
base::ScopedCFTypeRef<CVPixelBufferRef> pixel_buffer;
// If the frame is backed by a pixel buffer, just return that buffer.
- if (frame.cv_pixel_buffer()) {
- pixel_buffer.reset(frame.cv_pixel_buffer(), base::scoped_policy::RETAIN);
+ if (frame.CvPixelBuffer()) {
+ pixel_buffer.reset(frame.CvPixelBuffer(), base::scoped_policy::RETAIN);
return pixel_buffer;
}
« no previous file with comments | « no previous file | media/base/mac/video_frame_mac_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698