Adapt to changes of Chrome 51 API changes (Part 2)
This commit is contained in:
parent
851ef398fb
commit
76d180a80d
3 changed files with 16 additions and 2 deletions
|
@ -190,7 +190,7 @@ InspectableWebContentsView* CreateInspectableContentsView(
|
|||
InspectableWebContentsImpl* inspectable_web_contents_impl);
|
||||
|
||||
void InspectableWebContentsImpl::RegisterPrefs(PrefRegistrySimple* registry) {
|
||||
auto bounds_dict = make_std::unique_ptr(new base::DictionaryValue);
|
||||
std::unique_ptr<base::DictionaryValue> bounds_dict(new base::DictionaryValue);
|
||||
RectToDictionary(gfx::Rect(0, 0, 800, 600), bounds_dict.get());
|
||||
registry->RegisterDictionaryPref(kDevToolsBoundsPref, bounds_dict.release());
|
||||
registry->RegisterDoublePref(kDevToolsZoomPref, 0.);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue