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

Unified Diff: Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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: Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h
diff --git a/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h b/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h
index e71977293b9086dbe724e6ec9461e93cc8e390ec..a225819588e6d8049bffc9b906571a7d900c05fe 100644
--- a/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h
+++ b/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h
@@ -110,9 +110,9 @@ public:
{
registerCreateTestFunction(identifier, Register::create);
}
-
+
private:
- static PluginTest* create(NPP npp, const std::string& identifier)
+ static PluginTest* create(NPP npp, const std::string& identifier)
{
return new TestClassTy(npp, identifier);
}
@@ -141,7 +141,7 @@ protected:
object->m_pluginTest = pluginTest;
return object;
}
-
+
// These should never be called.
bool hasMethod(NPIdentifier methodName)
{
@@ -154,7 +154,7 @@ protected:
assert(false);
return false;
}
-
+
bool invokeDefault(const NPVariant*, uint32_t, NPVariant* result)
{
assert(false);
@@ -190,9 +190,9 @@ protected:
: m_pluginTest(0)
{
}
-
- virtual ~Object()
- {
+
+ virtual ~Object()
+ {
}
PluginTest* pluginTest() const { return m_pluginTest; }
@@ -241,7 +241,7 @@ protected:
static NPClass* npClass()
{
static NPClass npClass = {
- NP_CLASS_STRUCT_VERSION,
+ NP_CLASS_STRUCT_VERSION,
NP_Allocate,
NP_Deallocate,
0, // NPClass::invalidate
@@ -255,19 +255,19 @@ protected:
0, // NPClass::enumerate
0 // NPClass::construct
};
-
+
return &npClass;
};
PluginTest* m_pluginTest;
};
-
+
private:
typedef PluginTest* (*CreateTestFunction)(NPP, const std::string&);
-
+
static void registerCreateTestFunction(const std::string&, CreateTestFunction);
static std::map<std::string, CreateTestFunction>& createTestFunctions();
-
+
std::string m_identifier;
};
« no previous file with comments | « Tools/DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp ('k') | Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698