| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "ThrottledTextureUploader.h" | 7 #include "ThrottledTextureUploader.h" |
| 8 | 8 |
| 9 #include "Extensions3DChromium.h" | 9 #include "Extensions3DChromium.h" |
| 10 #include "FakeWebGraphicsContext3D.h" | 10 #include "FakeWebGraphicsContext3D.h" |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 EXPECT_EQ(1, uploader->numBlockingUploads()); | 102 EXPECT_EQ(1, uploader->numBlockingUploads()); |
| 103 | 103 |
| 104 fakeContext->setResultAvailable(1); | 104 fakeContext->setResultAvailable(1); |
| 105 EXPECT_EQ(0, uploader->numBlockingUploads()); | 105 EXPECT_EQ(0, uploader->numBlockingUploads()); |
| 106 uploader->uploadTexture(NULL, upload); | 106 uploader->uploadTexture(NULL, upload); |
| 107 uploader->markPendingUploadsAsNonBlocking(); | 107 uploader->markPendingUploadsAsNonBlocking(); |
| 108 EXPECT_EQ(0, uploader->numBlockingUploads()); | 108 EXPECT_EQ(0, uploader->numBlockingUploads()); |
| 109 } | 109 } |
| 110 | 110 |
| 111 } // namespace | 111 } // namespace |
| OLD | NEW |