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

Side by Side Diff: pdf/paint_manager.cc

Issue 1533413002: Switch to standard integer types in pdf/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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 unified diff | Download patch
« no previous file with comments | « pdf/paint_manager.h ('k') | pdf/pdf.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "pdf/paint_manager.h" 5 #include "pdf/paint_manager.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <algorithm> 10 #include <algorithm>
8 11
9 #include "base/logging.h" 12 #include "base/logging.h"
10 #include "ppapi/c/pp_errors.h" 13 #include "ppapi/c/pp_errors.h"
11 #include "ppapi/cpp/instance.h" 14 #include "ppapi/cpp/instance.h"
12 #include "ppapi/cpp/module.h" 15 #include "ppapi/cpp/module.h"
13 16
14 PaintManager::PaintManager(pp::Instance* instance, 17 PaintManager::PaintManager(pp::Instance* instance,
15 Client* client, 18 Client* client,
16 bool is_always_opaque) 19 bool is_always_opaque)
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 DCHECK(manual_callback_pending_); 296 DCHECK(manual_callback_pending_);
294 manual_callback_pending_ = false; 297 manual_callback_pending_ = false;
295 298
296 // Just because we have a manual callback doesn't mean there are actually any 299 // Just because we have a manual callback doesn't mean there are actually any
297 // invalid regions. Even though we only schedule this callback when something 300 // invalid regions. Even though we only schedule this callback when something
298 // is pending, a Flush callback could have come in before this callback was 301 // is pending, a Flush callback could have come in before this callback was
299 // executed and that could have cleared the queue. 302 // executed and that could have cleared the queue.
300 if (aggregator_.HasPendingUpdate()) 303 if (aggregator_.HasPendingUpdate())
301 DoPaint(); 304 DoPaint();
302 } 305 }
OLDNEW
« no previous file with comments | « pdf/paint_manager.h ('k') | pdf/pdf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698