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

Unified Diff: webkit/glue/webvideoframe_impl.cc

Issue 3433005: Linux: More gcc 4.5 NULL versus 0 fixes. (Closed)
Patch Set: Created 10 years, 3 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 | « webkit/glue/plugins/pepper_transport.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webvideoframe_impl.cc
diff --git a/webkit/glue/webvideoframe_impl.cc b/webkit/glue/webvideoframe_impl.cc
index e1195a725872eed402833d7020207b3c95b9ce18..a838cd6ee2385eeeda260f226c084fa313c2e92e 100644
--- a/webkit/glue/webvideoframe_impl.cc
+++ b/webkit/glue/webvideoframe_impl.cc
@@ -60,25 +60,25 @@ WebVideoFrame::Format WebVideoFrameImpl::format() const {
unsigned WebVideoFrameImpl::width() const {
if (video_frame_.get())
return video_frame_->width();
- return NULL;
+ return 0;
}
unsigned WebVideoFrameImpl::height() const {
if (video_frame_.get())
return video_frame_->height();
- return NULL;
+ return 0;
}
unsigned WebVideoFrameImpl::planes() const {
if (video_frame_.get())
return video_frame_->planes();
- return NULL;
+ return 0;
}
int WebVideoFrameImpl::stride(unsigned plane) const {
if (video_frame_.get())
return static_cast<int>(video_frame_->stride(plane));
- return NULL;
+ return 0;
}
const void* WebVideoFrameImpl::data(unsigned plane) const {
« no previous file with comments | « webkit/glue/plugins/pepper_transport.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698