Index: third_party/WebKit/Source/web/WebDocument.cpp |
diff --git a/third_party/WebKit/Source/web/WebDocument.cpp b/third_party/WebKit/Source/web/WebDocument.cpp |
index ecd8bf0faa8e65062e382db59a9aa3ad2bda91b1..4bec3b0da006c6b3403b2412c7182ef376b0f14e 100644 |
--- a/third_party/WebKit/Source/web/WebDocument.cpp |
+++ b/third_party/WebKit/Source/web/WebDocument.cpp |
@@ -194,7 +194,7 @@ void WebDocument::insertStyleSheet(const WebString& sourceCode) { |
void WebDocument::watchCSSSelectors(const WebVector<WebString>& webSelectors) { |
Document* document = unwrap<Document>(); |
CSSSelectorWatch* watch = CSSSelectorWatch::fromIfExists(*document); |
- if (!watch && webSelectors.isEmpty()) |
+ if (!watch && webSelectors.empty()) |
return; |
Vector<String> selectors; |
selectors.append(webSelectors.data(), webSelectors.size()); |