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

Unified Diff: third_party/WebKit/Source/platform/Length.cpp

Issue 2388303002: reflow comments in platform/ (Closed)
Patch Set: 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
« no previous file with comments | « third_party/WebKit/Source/platform/Length.h ('k') | third_party/WebKit/Source/platform/LengthFunctions.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/Length.cpp
diff --git a/third_party/WebKit/Source/platform/Length.cpp b/third_party/WebKit/Source/platform/Length.cpp
index 7ce222a9bd2140f0d4444730616039b831181720..c8597fcfce93fcb72e770157704cd48b799abfc0 100644
--- a/third_party/WebKit/Source/platform/Length.cpp
+++ b/third_party/WebKit/Source/platform/Length.cpp
@@ -2,7 +2,8 @@
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2001 Dirk Mueller ( mueller@kde.org )
- * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
+ * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights
+ * reserved.
* Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net)
*
* This library is free software; you can redistribute it and/or
@@ -41,8 +42,8 @@ class CalculationValueHandleMap {
int insert(PassRefPtr<CalculationValue> calcValue) {
ASSERT(m_index);
// FIXME calc(): https://bugs.webkit.org/show_bug.cgi?id=80489
- // This monotonically increasing handle generation scheme is potentially wasteful
- // of the handle space. Consider reusing empty handles.
+ // This monotonically increasing handle generation scheme is potentially
+ // wasteful of the handle space. Consider reusing empty handles.
while (m_map.contains(m_index))
m_index++;
@@ -65,7 +66,8 @@ class CalculationValueHandleMap {
ASSERT(m_map.contains(index));
CalculationValue* value = m_map.get(index);
if (value->hasOneRef()) {
- // Force the CalculationValue destructor early to avoid a potential recursive call inside HashMap remove().
+ // Force the CalculationValue destructor early to avoid a potential
+ // recursive call inside HashMap remove().
m_map.set(index, nullptr);
m_map.remove(index);
} else {
« no previous file with comments | « third_party/WebKit/Source/platform/Length.h ('k') | third_party/WebKit/Source/platform/LengthFunctions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698