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

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

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.cpp
diff --git a/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp b/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp
index c3ada14eb58d2e80a1922152391905029cbdd93b..321045a9350ae51b06c4f60ac24f4a5486533f49 100644
--- a/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp
+++ b/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp
@@ -42,7 +42,7 @@ PluginTest* PluginTest::create(NPP npp, const string& identifier)
{
if (identifier.empty())
return new PluginTest(npp, identifier);
-
+
CreateTestFunction createTestFunction = createTestFunctions()[identifier];
if (createTestFunction)
return createTestFunction(npp, identifier);
@@ -206,7 +206,7 @@ int32_t PluginTest::NPN_IntFromIdentifier(NPIdentifier npIdentifier)
NPObject* PluginTest::NPN_CreateObject(NPClass* npClass)
{
return browser->createobject(m_npp, npClass);
-}
+}
NPObject* PluginTest::NPN_RetainObject(NPObject* npObject)
{
@@ -285,13 +285,13 @@ void PluginTest::notifyDone()
void PluginTest::registerCreateTestFunction(const string& identifier, CreateTestFunction createTestFunction)
{
assert(!createTestFunctions().count(identifier));
-
+
createTestFunctions()[identifier] = createTestFunction;
}
std::map<std::string, PluginTest::CreateTestFunction>& PluginTest::createTestFunctions()
{
static std::map<std::string, CreateTestFunction> testFunctions;
-
+
return testFunctions;
}
« no previous file with comments | « Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h ('k') | Tools/DumpRenderTree/TestNetscapePlugIn/TestObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698