summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/set_icon_natives.h
diff options
context:
space:
mode:
authorgpdavis.chromium@gmail.com <gpdavis.chromium@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-21 17:22:22 +0000
committergpdavis.chromium@gmail.com <gpdavis.chromium@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-21 17:23:53 +0000
commit30ee19bc8c1182f033b98abf08fd273a7056acff (patch)
tree87e63e53f998d1e47010ee2a0ee0bf14d7399198 /extensions/renderer/set_icon_natives.h
parent1d1ab156d1fc06d62109f35e5400568e78bda578 (diff)
downloadchromium_src-30ee19bc8c1182f033b98abf08fd273a7056acff.zip
chromium_src-30ee19bc8c1182f033b98abf08fd273a7056acff.tar.gz
chromium_src-30ee19bc8c1182f033b98abf08fd273a7056acff.tar.bz2
Refactor setIcon to allow for more general use of imageData.
Review URL: https://codereview.chromium.org/477193003 Cr-Commit-Position: refs/heads/master@{#291119} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291119 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/renderer/set_icon_natives.h')
-rw-r--r--extensions/renderer/set_icon_natives.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/renderer/set_icon_natives.h b/extensions/renderer/set_icon_natives.h
index e5129dd..0def0be 100644
--- a/extensions/renderer/set_icon_natives.h
+++ b/extensions/renderer/set_icon_natives.h
@@ -24,10 +24,10 @@ class SetIconNatives : public ObjectBackedNativeHandler {
private:
bool ConvertImageDataToBitmapValue(const v8::Local<v8::Object> image_data,
- base::Value** bitmap_value);
+ v8::Local<v8::Value>* image_data_bitmap);
bool ConvertImageDataSetToBitmapValueSet(
- const v8::FunctionCallbackInfo<v8::Value>& args,
- base::DictionaryValue* bitmap_value);
+ v8::Local<v8::Object>& details,
+ v8::Local<v8::Object>* bitmap_set_value);
void SetIconCommon(const v8::FunctionCallbackInfo<v8::Value>& args);
RequestSender* request_sender_;