Index: content/renderer/media/video_track_adapter.cc |
diff --git a/content/renderer/media/video_track_adapter.cc b/content/renderer/media/video_track_adapter.cc |
index 2953f7d5679b63249d030785b736150cbe9b8b96..3f7fde2840b584003a370c56c1289362db2ae1a3 100644 |
--- a/content/renderer/media/video_track_adapter.cc |
+++ b/content/renderer/media/video_track_adapter.cc |
@@ -211,7 +211,7 @@ void VideoTrackAdapter::VideoFrameResolutionAdapter::DeliverFrame( |
// TODO(perkj): Allow cropping / scaling of textures once |
// http://crbug/362521 is fixed. |
- if (frame->format() == media::VideoFrame::NATIVE_TEXTURE) { |
+ if (frame->storage_type() == media::VideoFrame::STORAGE_TEXTURE) { |
DoDeliverFrame(frame, estimated_capture_time); |
return; |
} |