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

Unified Diff: cc/layers/nine_patch_layer_impl.cc

Issue 399433005: Extirpate CreateBooleanValue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/boolean/bool Created 6 years, 5 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 | components/policy/core/browser/autofill_policy_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/nine_patch_layer_impl.cc
diff --git a/cc/layers/nine_patch_layer_impl.cc b/cc/layers/nine_patch_layer_impl.cc
index 3f4ee4c792b67fc3c43ce93a668e96443c2b8f9e..cf5d09ba941f82e3510e6effa4c6f756891f6708 100644
--- a/cc/layers/nine_patch_layer_impl.cc
+++ b/cc/layers/nine_patch_layer_impl.cc
@@ -399,9 +399,7 @@ base::DictionaryValue* NinePatchLayerImpl::LayerTreeAsJson() const {
result->Set("Border", MathUtil::AsValue(border_).release());
- base::FundamentalValue* fill_center =
- base::Value::CreateBooleanValue(fill_center_);
- result->Set("FillCenter", fill_center);
+ result->SetBoolean("FillCenter", fill_center_);
return result;
}
« no previous file with comments | « no previous file | components/policy/core/browser/autofill_policy_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698