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

Unified Diff: third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp

Issue 2392343005: Reflow comments in core/css (Closed)
Patch Set: Revert clang-format 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/css/CSSFontFaceSrcValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp b/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp
index 6a88cbe223d3a28d1510ec6cb5bf1bc2700cdbaf..fd77f75d3d8b2a26c4ef4f56e41ff5706d0f2d70 100644
--- a/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp
@@ -43,8 +43,10 @@
namespace blink {
bool CSSFontFaceSrcValue::isSupportedFormat() const {
- // Normally we would just check the format, but in order to avoid conflicts with the old WinIE style of font-face,
- // we will also check to see if the URL ends with .eot. If so, we'll go ahead and assume that we shouldn't load it.
+ // Normally we would just check the format, but in order to avoid conflicts
+ // with the old WinIE style of font-face, we will also check to see if the URL
+ // ends with .eot. If so, we'll go ahead and assume that we shouldn't load
+ // it.
if (m_format.isEmpty())
return m_absoluteResource.startsWith("data:", TextCaseInsensitive) ||
!m_absoluteResource.endsWith(".eot", TextCaseInsensitive);
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSFontFaceSourceTest.cpp ('k') | third_party/WebKit/Source/core/css/CSSFontSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698