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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2799553002: Provide a std::vector compliant empty() method for WebVector. (Closed)
Patch Set: Created 3 years, 8 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/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index df57f797e4dad5e9b2a5a16abc7851e4a9bd0269..f4979cd88698a06aec3b75d65d43d642881c31a4 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -1720,7 +1720,7 @@ static void accumulateLayerRectList(PaintLayerCompositor* compositor,
LayerRectList* rects) {
WebVector<blink::WebRect> layerRects =
graphicsLayer->platformLayer()->touchEventHandlerRegion();
- if (!layerRects.isEmpty()) {
+ if (!layerRects.empty()) {
mergeRects(layerRects);
String layerType;
IntSize layerOffset;

Powered by Google App Engine
This is Rietveld 408576698