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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_font_rpc_server.cc

Issue 8826011: Remove PP_Module from parameters for PPB_Var.VarFromUtf8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 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
« no previous file with comments | « ppapi/cpp/var.cc ('k') | ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_input_event_rpc_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_font_rpc_server.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_font_rpc_server.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_font_rpc_server.cc
index 75aa7f3ab4c4bc8a732c4427f36839f908389b13..d69b950317b6b558b6cc384ef109d5c5cef2a05b 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_font_rpc_server.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_font_rpc_server.cc
@@ -57,8 +57,7 @@ void PpbFontRpcServer::PPB_Font_Create(
return;
struct PP_FontDescription_Dev* pp_description =
reinterpret_cast<struct PP_FontDescription_Dev*>(description);
- if (!DeserializeTo(
- rpc->channel, face, face_size, 1, &pp_description->face)) {
+ if (!DeserializeTo(face, face_size, 1, &pp_description->face)) {
return;
}
*font = PPBFontInterface()->Create(instance, pp_description);
@@ -137,7 +136,7 @@ void PpbFontRpcServer::PPB_Font_DrawTextAt(
return;
struct PP_TextRun_Dev* pp_text_run =
reinterpret_cast<struct PP_TextRun_Dev*>(text_run);
- if (!DeserializeTo(rpc->channel, text, text_size, 1, &pp_text_run->text))
+ if (!DeserializeTo(text, text_size, 1, &pp_text_run->text))
return;
struct PP_Point* pp_position =
reinterpret_cast<struct PP_Point*>(position);
@@ -170,7 +169,7 @@ void PpbFontRpcServer::PPB_Font_MeasureText(
return;
struct PP_TextRun_Dev* pp_text_run =
reinterpret_cast<struct PP_TextRun_Dev*>(text_run);
- if (!DeserializeTo(rpc->channel, text, text_size, 1, &pp_text_run->text))
+ if (!DeserializeTo(text, text_size, 1, &pp_text_run->text))
return;
*width = PPBFontInterface()->MeasureText(font, pp_text_run);
@@ -193,7 +192,7 @@ void PpbFontRpcServer::PPB_Font_CharacterOffsetForPixel(
return;
struct PP_TextRun_Dev* pp_text_run =
reinterpret_cast<struct PP_TextRun_Dev*>(text_run);
- if (!DeserializeTo(rpc->channel, text, text_size, 1, &pp_text_run->text))
+ if (!DeserializeTo(text, text_size, 1, &pp_text_run->text))
return;
*offset = PPBFontInterface()->CharacterOffsetForPixel(font,
pp_text_run,
@@ -219,7 +218,7 @@ void PpbFontRpcServer::PPB_Font_PixelOffsetForCharacter(
return;
struct PP_TextRun_Dev* pp_text_run =
reinterpret_cast<struct PP_TextRun_Dev*>(text_run);
- if (!DeserializeTo(rpc->channel, text, text_size, 1, &pp_text_run->text))
+ if (!DeserializeTo(text, text_size, 1, &pp_text_run->text))
return;
*offset = PPBFontInterface()->PixelOffsetForCharacter(font,
pp_text_run,
« no previous file with comments | « ppapi/cpp/var.cc ('k') | ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_input_event_rpc_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698