diff options
author | vmpstr <vmpstr@chromium.org> | 2016-03-21 15:02:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-21 22:04:13 +0000 |
commit | da84a062c71022bc7cae4b99d568692f511741b7 (patch) | |
tree | 31cbf0943a0a1cd83e91dbb4143d00dbcb436599 /cc/tiles/software_image_decode_controller.cc | |
parent | 8953a7b9ffec800ce8a36e44a7c27a5f7725e33d (diff) | |
download | chromium_src-da84a062c71022bc7cae4b99d568692f511741b7.zip chromium_src-da84a062c71022bc7cae4b99d568692f511741b7.tar.gz chromium_src-da84a062c71022bc7cae4b99d568692f511741b7.tar.bz2 |
cc: Remove a default constructor argument.
This patch changes the default constructor argument in favor of two
constructors.
R=ericrk, danakj
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1819773005
Cr-Commit-Position: refs/heads/master@{#382408}
Diffstat (limited to 'cc/tiles/software_image_decode_controller.cc')
-rw-r--r-- | cc/tiles/software_image_decode_controller.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/tiles/software_image_decode_controller.cc b/cc/tiles/software_image_decode_controller.cc index c61a0c6..d1e7f80 100644 --- a/cc/tiles/software_image_decode_controller.cc +++ b/cc/tiles/software_image_decode_controller.cc @@ -146,6 +146,9 @@ SoftwareImageDecodeController::SoftwareImageDecodeController( locked_images_budget_(kLockedMemoryLimitBytes), format_(format) {} +SoftwareImageDecodeController::SoftwareImageDecodeController() + : SoftwareImageDecodeController(RGBA_8888) {} + SoftwareImageDecodeController::~SoftwareImageDecodeController() { DCHECK_EQ(0u, decoded_images_ref_counts_.size()); DCHECK_EQ(0u, at_raster_decoded_images_ref_counts_.size()); |