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

Unified Diff: third_party/WebKit/Source/core/loader/PrerenderHandle.cpp

Issue 2383403002: Reflow comments in core/loader (Closed)
Patch Set: yhirano comments Created 4 years, 2 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
Index: third_party/WebKit/Source/core/loader/PrerenderHandle.cpp
diff --git a/third_party/WebKit/Source/core/loader/PrerenderHandle.cpp b/third_party/WebKit/Source/core/loader/PrerenderHandle.cpp
index da560c93289d37b1d161ec101350c8c56bb59c95..1c6458d3214d2b394e5083d63d822021ebc527f5 100644
--- a/third_party/WebKit/Source/core/loader/PrerenderHandle.cpp
+++ b/third_party/WebKit/Source/core/loader/PrerenderHandle.cpp
@@ -45,8 +45,8 @@ PrerenderHandle* PrerenderHandle::create(Document& document,
PrerenderClient* client,
const KURL& url,
const unsigned prerenderRelTypes) {
- // Prerenders are unlike requests in most ways (for instance, they pass down fragments, and they don't return data),
- // but they do have referrers.
+ // Prerenders are unlike requests in most ways (for instance, they pass down
+ // fragments, and they don't return data), but they do have referrers.
if (!document.frame())
return nullptr;
@@ -77,8 +77,8 @@ PrerenderHandle::~PrerenderHandle() {
void PrerenderHandle::cancel() {
// Avoid both abandoning and canceling the same prerender. In the abandon
// case, the LinkLoader cancels the PrerenderHandle as the Document is
- // destroyed, even through the ContextLifecycleObserver has already
- // abandoned it.
+ // destroyed, even through the ContextLifecycleObserver has already abandoned
+ // it.
if (!m_prerender)
return;
m_prerender->cancel();
@@ -90,8 +90,8 @@ const KURL& PrerenderHandle::url() const {
}
void PrerenderHandle::contextDestroyed() {
- // A PrerenderHandle is not removed from LifecycleNotifier::m_observers
- // until the next GC runs. Thus contextDestroyed() can be called for a
+ // A PrerenderHandle is not removed from LifecycleNotifier::m_observers until
+ // the next GC runs. Thus contextDestroyed() can be called for a
// PrerenderHandle that is already cancelled (and thus detached). In that
// case, we should not detach the PrerenderHandle again.
if (!m_prerender)
« no previous file with comments | « third_party/WebKit/Source/core/loader/PingLoader.cpp ('k') | third_party/WebKit/Source/core/loader/ProgressTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698