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

Unified Diff: ppapi/thunk/ppb_browser_font_trusted_thunk.cc

Issue 238923007: PPAPI: Format ppapi/thunk using clang-format. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use Popen instead, force carriage returns in thunks 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: ppapi/thunk/ppb_browser_font_trusted_thunk.cc
diff --git a/ppapi/thunk/ppb_browser_font_trusted_thunk.cc b/ppapi/thunk/ppb_browser_font_trusted_thunk.cc
index 5db8b84347b0c98f43ae685591ba880b368987d5..a7efc366a6d7508a78add1ad1288cd068906ab97 100644
--- a/ppapi/thunk/ppb_browser_font_trusted_thunk.cc
+++ b/ppapi/thunk/ppb_browser_font_trusted_thunk.cc
@@ -54,8 +54,8 @@ PP_Bool DrawTextAt(PP_Resource font_id,
EnterBrowserFont enter(font_id, true);
if (enter.failed())
return PP_FALSE;
- return enter.object()->DrawTextAt(image_data, text, position, color, clip,
- image_data_is_opaque);
+ return enter.object()->DrawTextAt(
+ image_data, text, position, color, clip, image_data_is_opaque);
}
int32_t MeasureText(PP_Resource font_id,
@@ -85,15 +85,9 @@ int32_t PixelOffsetForCharacter(PP_Resource font_id,
}
const PPB_BrowserFont_Trusted_1_0 g_ppb_browser_font_trusted_thunk = {
- &GetFontFamilies,
- &Create,
- &IsBrowserFont,
- &Describe,
- &DrawTextAt,
- &MeasureText,
- &CharacterOffsetForPixel,
- &PixelOffsetForCharacter
-};
+ &GetFontFamilies, &Create, &IsBrowserFont,
+ &Describe, &DrawTextAt, &MeasureText,
+ &CharacterOffsetForPixel, &PixelOffsetForCharacter};
} // namespace

Powered by Google App Engine
This is Rietveld 408576698