Index: Source/core/inspector/InspectorStyleSheet.cpp |
diff --git a/Source/core/inspector/InspectorStyleSheet.cpp b/Source/core/inspector/InspectorStyleSheet.cpp |
index 27df05332095cdca4fdbfe0d61fcfe52cec3d51e..8f943fcfdf0b06733e3b9b6f33bcf67a6944e254 100644 |
--- a/Source/core/inspector/InspectorStyleSheet.cpp |
+++ b/Source/core/inspector/InspectorStyleSheet.cpp |
@@ -1431,8 +1431,7 @@ String InspectorStyleSheet::sourceURL() const |
bool deprecated; |
String commentValue = ContentSearchUtils::findSourceURL(styleSheetText, ContentSearchUtils::CSSMagicComment, &deprecated); |
if (!commentValue.isEmpty()) { |
- if (deprecated) |
- m_pageAgent->page()->console()->addMessage(NetworkMessageSource, WarningMessageLevel, "\"/*@ sourceURL=\" source URL declaration is deprecated, \"/*# sourceURL=\" declaration should be used instead.", finalURL(), 0); |
+ // FIXME: add deprecated console message here. |
m_sourceURL = commentValue; |
return commentValue; |
} |
@@ -1485,8 +1484,7 @@ String InspectorStyleSheet::sourceMapURL() const |
bool deprecated; |
String commentValue = ContentSearchUtils::findSourceMapURL(styleSheetText, ContentSearchUtils::CSSMagicComment, &deprecated); |
if (!commentValue.isEmpty()) { |
- if (deprecated) |
- m_pageAgent->page()->console()->addMessage(NetworkMessageSource, WarningMessageLevel, "\"/*@ sourceMappingURL=\" source mapping URL declaration is deprecated, \"/*# sourceMappingURL=\" declaration should be used instead.", finalURL(), 0); |
+ // FIXME: add deprecated console message here. |
return commentValue; |
} |
} |