diff options
author | thakis <thakis@chromium.org> | 2015-10-12 11:50:52 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-12 18:51:48 +0000 |
commit | a87fa33951887b83b197cf6f25cc7da5d8cb9c7a (patch) | |
tree | 3adc3199080325f49695a6a23e554ccd19cac5c8 /android_webview | |
parent | 9b4a9b9cbdbda996aaf9bf8c95fca674e1ccdbb8 (diff) | |
download | chromium_src-a87fa33951887b83b197cf6f25cc7da5d8cb9c7a.zip chromium_src-a87fa33951887b83b197cf6f25cc7da5d8cb9c7a.tar.gz chromium_src-a87fa33951887b83b197cf6f25cc7da5d8cb9c7a.tar.bz2 |
mac: Make component_unittests build with the 10.11 SDK.
* Pass non-nil arguments in a few places. These are all delegate
methods implemented by chrome code that doesn't look at the
parameters, so just pass a nearby object of the same type. (Most
of the time this looks like the right object to pass, too!)
* For the deviceBrowser: parameter, no good object was available,
so add a method to ImageCaptureDeviceManager to hand out
a good object to pass.
* Rename device_browser() to device_browser_delegate() to be
less confusing wrt the new object.
* Finally, mark initWithDictionary: as NS_DESIGNATED_INITIALIZER
so the compiler doesn't complain about
[MockICCameraDevice init] not calling a designated initializer.
Since this is an internal API, we're playing with fire anyways.
(This requires moving the declaration from a category to a class
extension.)
No intended behavior change.
BUG=517914
Review URL: https://codereview.chromium.org/1396773006
Cr-Commit-Position: refs/heads/master@{#353567}
Diffstat (limited to 'android_webview')
0 files changed, 0 insertions, 0 deletions