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/content/renderer/gin_browsertest.cc b/content/renderer/gin_browsertest.cc
index 4244205..a8639a1 100644
--- a/content/renderer/gin_browsertest.cc
+++ b/content/renderer/gin_browsertest.cc
@@ -63,10 +63,10 @@
bool alive = false;
{
- v8::Isolate* isolate = blink::mainThreadIsolate();
+ v8::Isolate* isolate = blink::MainThreadIsolate();
v8::HandleScope handle_scope(isolate);
v8::Context::Scope context_scope(
- view_->GetWebView()->mainFrame()->mainWorldScriptContext());
+ view_->GetWebView()->MainFrame()->MainWorldScriptContext());
// We create the object inside a scope so it's not kept alive by a handle
// on the stack.
@@ -76,7 +76,7 @@
CHECK(alive);
// Should not crash.
- blink::mainThreadIsolate()->LowMemoryNotification();
+ blink::MainThreadIsolate()->LowMemoryNotification();
CHECK(!alive);
}