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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp

Issue 2390543002: Reflow comments in core/dom/. (Closed)
Patch Set: Reformat comments in core/dom/. 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/dom/DocumentStyleSheetCollection.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp
index cb20dac8b6f9ec281830ef32df3b3f1d024c8f6e..8e163a71a496a39f50e18d769632fd26e6d686de 100644
--- a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp
@@ -3,8 +3,10 @@
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2001 Dirk Mueller (mueller@kde.org)
* (C) 2006 Alexey Proskuryakov (ap@webkit.org)
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All rights reserved.
- * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/)
+ * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
+ * rights reserved.
+ * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
+ * (http://www.torchmobile.com/)
* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
* Copyright (C) 2013 Google Inc. All rights reserved.
*
@@ -97,10 +99,12 @@ void DocumentStyleSheetCollection::updateActiveStyleSheets(
if (change.styleResolverUpdateType == Reconstruct) {
engine.clearMasterResolver();
- // TODO(rune@opera.com): The following depends on whether StyleRuleFontFace was modified or not.
- // We should only remove modified/removed @font-face rules, or @font-face rules from removed
- // stylesheets. We currently avoid clearing the font cache when we have had an analyzed update
- // and no @font-face rules were removed, in which case requiresFullStyleRecalc will be false.
+ // TODO(rune@opera.com): The following depends on whether StyleRuleFontFace
+ // was modified or not. We should only remove modified/removed @font-face
+ // rules, or @font-face rules from removed stylesheets. We currently avoid
+ // clearing the font cache when we have had an analyzed update and no
+ // @font-face rules were removed, in which case requiresFullStyleRecalc will
+ // be false.
if (change.requiresFullStyleRecalc)
engine.clearFontCache();
} else if (StyleResolver* styleResolver = engine.resolver()) {

Powered by Google App Engine
This is Rietveld 408576698