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

Unified Diff: content/common/gpu/media/dxva_video_decode_accelerator_win.h

Issue 1818533004: Fix Chromium style plugin warning after https://codereview.chromium.org/1815063002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/dxva_video_decode_accelerator_win.h
diff --git a/content/common/gpu/media/dxva_video_decode_accelerator_win.h b/content/common/gpu/media/dxva_video_decode_accelerator_win.h
index 660797c2e64090f38c1fcc6f4bbbc9884958caaf..9dba785eb044350d4c8c701cc8695ac0ddaa38a7 100644
--- a/content/common/gpu/media/dxva_video_decode_accelerator_win.h
+++ b/content/common/gpu/media/dxva_video_decode_accelerator_win.h
@@ -441,12 +441,6 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator
// Enables experimental hardware acceleration for VP8/VP9 video decoding.
const bool enable_accelerated_vpx_decode_;
- // WeakPtrFactory for posting tasks back to |this|.
- base::WeakPtrFactory<DXVAVideoDecodeAccelerator> weak_this_factory_;
-
- // Function pointer for the MFCreateDXGIDeviceManager API.
- static CreateDXGIDeviceManager create_dxgi_device_manager_;
-
// The media foundation H.264 decoder has problems handling changes like
// resolution change, bitrate change etc. If we reinitialize the decoder
// when these changes occur then, the decoder works fine. The
@@ -457,6 +451,12 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator
// Contains the initialization parameters for the video.
Config config_;
+ // WeakPtrFactory for posting tasks back to |this|.
+ base::WeakPtrFactory<DXVAVideoDecodeAccelerator> weak_this_factory_;
+
+ // Function pointer for the MFCreateDXGIDeviceManager API.
+ static CreateDXGIDeviceManager create_dxgi_device_manager_;
+
DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator);
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698