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

Unified Diff: content/browser/compositor/delegated_frame_host.h

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/compositor/delegated_frame_host.h
diff --git a/content/browser/compositor/delegated_frame_host.h b/content/browser/compositor/delegated_frame_host.h
index de883bec352a2e21fbd5e4101254d1354a4bb425..21dc4e0c8f95341b2ca5e2cbbdbcb27b28ed4bf4 100644
--- a/content/browser/compositor/delegated_frame_host.h
+++ b/content/browser/compositor/delegated_frame_host.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_BROWSER_COMPOSITOR_DELEGATED_FRAME_HOST_H_
#define CONTENT_BROWSER_COMPOSITOR_DELEGATED_FRAME_HOST_H_
+#include <stdint.h>
+
#include <vector>
#include "base/gtest_prod_util.h"
@@ -127,7 +129,7 @@ class CONTENT_EXPORT DelegatedFrameHost
// Public interface exposed to RenderWidgetHostView.
- void SwapDelegatedFrame(uint32 output_surface_id,
+ void SwapDelegatedFrame(uint32_t output_surface_id,
scoped_ptr<cc::CompositorFrame> frame);
void ClearDelegatedFrame();
void WasHidden();
@@ -249,9 +251,9 @@ class CONTENT_EXPORT DelegatedFrameHost
scoped_refptr<OwnedMailbox> subscriber_texture,
const gpu::SyncToken& sync_token);
- void SendDelegatedFrameAck(uint32 output_surface_id);
- void SurfaceDrawn(uint32 output_surface_id, cc::SurfaceDrawStatus drawn);
- void SendReturnedDelegatedResources(uint32 output_surface_id);
+ void SendDelegatedFrameAck(uint32_t output_surface_id);
+ void SurfaceDrawn(uint32_t output_surface_id, cc::SurfaceDrawStatus drawn);
+ void SendReturnedDelegatedResources(uint32_t output_surface_id);
// Called to consult the current |frame_subscriber_|, to determine and maybe
// initiate a copy-into-video-frame request.
@@ -280,7 +282,7 @@ class CONTENT_EXPORT DelegatedFrameHost
// With delegated renderer, this is the last output surface, used to
// disambiguate resources with the same id coming from different output
// surfaces.
- uint32 last_output_surface_id_;
+ uint32_t last_output_surface_id_;
// The number of delegated frame acks that are pending, to delay resource
// returns until the acks are sent.
« no previous file with comments | « content/browser/compositor/buffer_queue_unittest.cc ('k') | content/browser/compositor/delegated_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698