Index: content/plugin/webplugin_proxy.cc |
diff --git a/content/plugin/webplugin_proxy.cc b/content/plugin/webplugin_proxy.cc |
index 57e61b29ec9a77d1196f6daafb204f595244c08f..108d455261eb1718e81798e7bdbd5c027133ac0c 100644 |
--- a/content/plugin/webplugin_proxy.cc |
+++ b/content/plugin/webplugin_proxy.cc |
@@ -412,7 +412,7 @@ void WebPluginProxy::UpdateGeometry( |
// Update the buffers before doing anything that could call into plugin code, |
// so that we don't process buffer changes out of order if plugins make |
// synchronous calls that lead to nested UpdateGeometry calls. |
- if (TransportDIB::is_valid(windowless_buffer)) { |
+ if (TransportDIB::is_valid_handle(windowless_buffer)) { |
// The plugin's rect changed, so now we have a new buffer to draw into. |
SetWindowlessBuffer(windowless_buffer, background_buffer, window_rect); |
} |