diff options
Diffstat (limited to 'webkit/glue/webvideoframe_impl.cc')
-rw-r--r-- | webkit/glue/webvideoframe_impl.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/glue/webvideoframe_impl.cc b/webkit/glue/webvideoframe_impl.cc index e1195a7..a838cd6 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 { |