Chromium Code Reviews| Index: src/gpu/GrAtlas.cpp |
| diff --git a/src/gpu/GrAtlas.cpp b/src/gpu/GrAtlas.cpp |
| index 7ebdf6eb12587952d0d0233a7c28bca2dcdb2e73..ef4578e8d80a2e96df8a21e127c9ff5ae03cc3b2 100644 |
| --- a/src/gpu/GrAtlas.cpp |
| +++ b/src/gpu/GrAtlas.cpp |
| @@ -226,9 +226,6 @@ GrPlot* GrAtlas::addToAtlas(ClientPlotUsage* usage, |
| desc.fConfig = fPixelConfig; |
| fTexture = fGpu->createTexture(desc, true, NULL, 0); |
|
Jvsquare
2015/03/27 15:07:29
Why is this removed?
joshualitt
2015/03/30 14:56:43
Acknowledged.
|
| - if (NULL == fTexture) { |
| - return NULL; |
| - } |
| } |
| // now look through all allocated plots for one we can share, in MRU order |