| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "content/renderer/gpu/compositor_software_output_device.h" | 5 #include "content/renderer/gpu/compositor_software_output_device.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "cc/output/software_frame_data.h" | 8 #include "cc/output/software_frame_data.h" |
| 9 #include "content/child/child_shared_bitmap_manager.h" | 9 #include "content/child/child_shared_bitmap_manager.h" |
| 10 #include "content/renderer/render_process.h" | 10 #include "content/renderer/render_process.h" |
| 11 #include "content/renderer/render_thread_impl.h" | 11 #include "content/renderer/render_thread_impl.h" |
| 12 #include "third_party/skia/include/core/SkBitmapDevice.h" | |
| 13 #include "third_party/skia/include/core/SkCanvas.h" | 12 #include "third_party/skia/include/core/SkCanvas.h" |
| 14 #include "third_party/skia/include/core/SkPixelRef.h" | 13 #include "third_party/skia/include/core/SkPixelRef.h" |
| 15 #include "third_party/skia/include/core/SkRegion.h" | 14 #include "third_party/skia/include/core/SkRegion.h" |
| 16 #include "ui/gfx/skia_util.h" | 15 #include "ui/gfx/skia_util.h" |
| 17 | 16 |
| 18 namespace { | 17 namespace { |
| 19 | 18 |
| 20 const size_t kInvalidIndex = static_cast<size_t>(-1); | 19 const size_t kInvalidIndex = static_cast<size_t>(-1); |
| 21 | 20 |
| 22 } // namespace | 21 } // namespace |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 return; | 224 return; |
| 226 } else { | 225 } else { |
| 227 it = std::find_if(awaiting_ack_.begin(), awaiting_ack_.end(), | 226 it = std::find_if(awaiting_ack_.begin(), awaiting_ack_.end(), |
| 228 CompareById(id)); | 227 CompareById(id)); |
| 229 DCHECK(it != awaiting_ack_.end()); | 228 DCHECK(it != awaiting_ack_.end()); |
| 230 awaiting_ack_.erase(it); | 229 awaiting_ack_.erase(it); |
| 231 } | 230 } |
| 232 } | 231 } |
| 233 | 232 |
| 234 } // namespace content | 233 } // namespace content |
| OLD | NEW |