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

Unified Diff: ppapi/shared_impl/host_resource.h

Issue 174213003: PPAPI: Use clang-format on ppapi/shared_impl (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: remove DEPS Created 6 years, 10 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
« no previous file with comments | « ppapi/shared_impl/flash_clipboard_format_registry.cc ('k') | ppapi/shared_impl/host_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/host_resource.h
diff --git a/ppapi/shared_impl/host_resource.h b/ppapi/shared_impl/host_resource.h
index 6001bb0fe5afa9199337365e204b3d87e35105d4..6770a52005e61efd08fa0cc9647a77b804944766 100644
--- a/ppapi/shared_impl/host_resource.h
+++ b/ppapi/shared_impl/host_resource.h
@@ -39,9 +39,7 @@ class PPAPI_SHARED_EXPORT HostResource {
public:
HostResource();
- bool is_null() const {
- return !host_resource_;
- }
+ bool is_null() const { return !host_resource_; }
// Some resources are plugin-side only and don't have a corresponding
// resource in the host. Yet these resources still need an instance to be
@@ -55,9 +53,7 @@ class PPAPI_SHARED_EXPORT HostResource {
// DO NOT CALL THESE FUNCTIONS IN THE PLUGIN SIDE OF THE PROXY. The values
// will be invalid. See the class comment above.
void SetHostResource(PP_Instance instance, PP_Resource resource);
- PP_Resource host_resource() const {
- return host_resource_;
- }
+ PP_Resource host_resource() const { return host_resource_; }
PP_Instance instance() const { return instance_; }
« no previous file with comments | « ppapi/shared_impl/flash_clipboard_format_registry.cc ('k') | ppapi/shared_impl/host_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698