The Blink Rename
Identifiers in Blink now largely follow the standard Chrome style
conventions, with several additional rules:
- web-exposed methods remain namedLikeThis() for consistency with
Javascript bindings.
- method names are never named_in_hacker_case()
- enumerator names are kNamedLikeThis.
This commit was generated by the following process.
1. Running //tools/clang/rewrite_to_chrome_style across the codebase.
2. Apply manual fixes.
3. git cl format
BUG=578344
[email protected]
[email protected]
Change-Id: Ide5d397d3c6a5d973fd0a6f81dccf82561d4bb71
Reviewed-on: https://chromium-review.googlesource.com/472192
Reviewed-by: Blink Reformat <[email protected]>
Cr-Commit-Position: refs/heads/master@{#463139}
diff --git a/chrome/browser/android/shortcut_helper.cc b/chrome/browser/android/shortcut_helper.cc
index 72b389a6b..6d39a8f3 100644
--- a/chrome/browser/android/shortcut_helper.cc
+++ b/chrome/browser/android/shortcut_helper.cc
@@ -137,8 +137,8 @@
const ShortcutInfo& info,
const SkBitmap& icon_bitmap) {
std::string webapp_id = base::GenerateGUID();
- if (info.display == blink::WebDisplayModeStandalone ||
- info.display == blink::WebDisplayModeFullscreen) {
+ if (info.display == blink::kWebDisplayModeStandalone ||
+ info.display == blink::kWebDisplayModeFullscreen) {
AddWebappWithSkBitmap(
info, webapp_id, icon_bitmap,
base::Bind(&ShortcutHelper::FetchSplashScreenImage, web_contents,