Index: ui/gfx/native_widget_types.h |
diff --git a/ui/gfx/native_widget_types.h b/ui/gfx/native_widget_types.h |
index 0ce333c5507ddee13243574dd7856e5cc9f944f3..435eed8ce2f233f248c2159b1f21f109a3300207 100644 |
--- a/ui/gfx/native_widget_types.h |
+++ b/ui/gfx/native_widget_types.h |
@@ -210,7 +210,7 @@ typedef intptr_t NativeViewId; |
typedef unsigned long PluginWindowHandle; |
const PluginWindowHandle kNullPluginWindow = 0; |
#elif defined(OS_ANDROID) |
- typedef uint64 PluginWindowHandle; |
+ typedef uint32 PluginWindowHandle; |
const PluginWindowHandle kNullPluginWindow = 0; |
#elif defined(USE_OZONE) |
typedef intptr_t PluginWindowHandle; |
@@ -230,15 +230,9 @@ enum SurfaceType { |
}; |
struct GLSurfaceHandle { |
- GLSurfaceHandle() |
- : handle(kNullPluginWindow), |
- transport_type(EMPTY), |
- parent_client_id(0) { |
- } |
+ GLSurfaceHandle() : handle(kNullPluginWindow), transport_type(EMPTY) {} |
GLSurfaceHandle(PluginWindowHandle handle_, SurfaceType transport_) |
- : handle(handle_), |
- transport_type(transport_), |
- parent_client_id(0) { |
+ : handle(handle_), transport_type(transport_) { |
DCHECK(!is_null() || handle == kNullPluginWindow); |
DCHECK(transport_type != NULL_TRANSPORT || |
handle == kNullPluginWindow); |
@@ -249,7 +243,6 @@ struct GLSurfaceHandle { |
} |
PluginWindowHandle handle; |
SurfaceType transport_type; |
- uint32 parent_client_id; |
}; |
// AcceleratedWidget provides a surface to compositors to paint pixels. |