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

Unified Diff: content/renderer/pepper/pepper_truetype_font_host.cc

Issue 225903006: PPAPI: Run clang_format.py on content/renderer/pepper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 8 months 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/renderer/pepper/pepper_truetype_font_host.cc
diff --git a/content/renderer/pepper/pepper_truetype_font_host.cc b/content/renderer/pepper/pepper_truetype_font_host.cc
index ea9bb12b686ba0d1d27099622a6236129b06b410..131c8f2160e0824f3886d6e1eefc5c446dc5519a 100644
--- a/content/renderer/pepper/pepper_truetype_font_host.cc
+++ b/content/renderer/pepper/pepper_truetype_font_host.cc
@@ -26,11 +26,9 @@ PepperTrueTypeFontHost::PepperTrueTypeFontHost(
: ResourceHost(host->GetPpapiHost(), instance, resource),
renderer_ppapi_host_(host),
font_(PepperTrueTypeFont::Create(desc)),
- weak_factory_(this) {
-}
+ weak_factory_(this) {}
-PepperTrueTypeFontHost::~PepperTrueTypeFontHost() {
-}
+PepperTrueTypeFontHost::~PepperTrueTypeFontHost() {}
int32_t PepperTrueTypeFontHost::OnResourceMessageReceived(
const IPC::Message& msg,
@@ -39,12 +37,12 @@ int32_t PepperTrueTypeFontHost::OnResourceMessageReceived(
return PP_ERROR_FAILED;
IPC_BEGIN_MESSAGE_MAP(PepperTrueTypeFontHost, msg)
- PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(PpapiHostMsg_TrueTypeFont_Describe,
- OnHostMsgDescribe)
- PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(PpapiHostMsg_TrueTypeFont_GetTableTags,
- OnHostMsgGetTableTags)
- PPAPI_DISPATCH_HOST_RESOURCE_CALL(PpapiHostMsg_TrueTypeFont_GetTable,
- OnHostMsgGetTable)
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(PpapiHostMsg_TrueTypeFont_Describe,
+ OnHostMsgDescribe)
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(PpapiHostMsg_TrueTypeFont_GetTableTags,
+ OnHostMsgGetTableTags)
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL(PpapiHostMsg_TrueTypeFont_GetTable,
+ OnHostMsgGetTable)
IPC_END_MESSAGE_MAP()
return PP_ERROR_FAILED;
}
@@ -69,9 +67,8 @@ int32_t PepperTrueTypeFontHost::OnHostMsgGetTableTags(
std::vector<uint32_t> tags;
ReplyMessageContext reply_context = context->MakeReplyMessageContext();
reply_context.params.set_result(font_->GetTableTags(&tags));
- host()->SendReply(
- reply_context,
- PpapiPluginMsg_TrueTypeFont_GetTableTagsReply(tags));
+ host()->SendReply(reply_context,
+ PpapiPluginMsg_TrueTypeFont_GetTableTagsReply(tags));
return PP_OK_COMPLETIONPENDING;
}
« no previous file with comments | « content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc ('k') | content/renderer/pepper/pepper_truetype_font_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698