summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/graphics_2d_resource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy/graphics_2d_resource.cc')
-rw-r--r--ppapi/proxy/graphics_2d_resource.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/proxy/graphics_2d_resource.cc b/ppapi/proxy/graphics_2d_resource.cc
index b07db46..4dc00ba 100644
--- a/ppapi/proxy/graphics_2d_resource.cc
+++ b/ppapi/proxy/graphics_2d_resource.cc
@@ -93,7 +93,7 @@ void Graphics2DResource::ReplaceContents(PP_Resource image_data) {
"Graphics2DResource.PaintImageData: Bad image resource.");
return;
}
- enter_image.object()->SetUsedInReplaceContents();
+ enter_image.object()->SetIsCandidateForReuse();
Post(RENDERER, PpapiHostMsg_Graphics2D_ReplaceContents(
image_object->host_resource()));