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

Unified Diff: src/gpu/GrLayerHoister.cpp

Issue 685263004: Upgrade GPUOptimize (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: clean up test Created 6 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
« no previous file with comments | « include/core/SkPicture.h ('k') | src/gpu/GrPictureUtils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrLayerHoister.cpp
diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp
index 00576710cdaaf7ec466e6c99a3160701139996a7..5d3a383b474e9ff6f61b193fe13709e5f48e472b 100644
--- a/src/gpu/GrLayerHoister.cpp
+++ b/src/gpu/GrLayerHoister.cpp
@@ -111,7 +111,7 @@ void GrLayerHoister::FindLayersToAtlas(GrContext* context,
continue;
}
- SkRect layerRect = SkRect::Make(info.fBounds);
+ SkRect layerRect = info.fBounds;
if (!layerRect.intersect(query)) {
continue;
}
@@ -157,7 +157,7 @@ void GrLayerHoister::FindLayersToHoist(GrContext* context,
continue;
}
- SkRect layerRect = SkRect::Make(info.fBounds);
+ SkRect layerRect = info.fBounds;
if (!layerRect.intersect(query)) {
continue;
}
« no previous file with comments | « include/core/SkPicture.h ('k') | src/gpu/GrPictureUtils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698