Index: content/shell/tools/plugin/Tests/GetURLWithJavaScriptURL.cpp |
diff --git a/content/shell/tools/plugin/Tests/GetURLWithJavaScriptURL.cpp b/content/shell/tools/plugin/Tests/GetURLWithJavaScriptURL.cpp |
index 68f215c94ba402dc64180d7304c3cd37655954bf..336a370a7e96587845d5bc24cead5ad7597d125f 100644 |
--- a/content/shell/tools/plugin/Tests/GetURLWithJavaScriptURL.cpp |
+++ b/content/shell/tools/plugin/Tests/GetURLWithJavaScriptURL.cpp |
@@ -48,18 +48,20 @@ public: |
} |
private: |
- virtual NPError NPP_New(NPMIMEType pluginType, |
- uint16_t mode, |
- int16_t argc, |
- char* argn[], |
- char* argv[], |
- NPSavedData* saved) override { |
+ NPError NPP_New(NPMIMEType pluginType, |
+ uint16_t mode, |
+ int16_t argc, |
+ char* argn[], |
+ char* argv[], |
+ NPSavedData* saved) override { |
NPN_GetURL(javaScriptURL, 0); |
return NPERR_NO_ERROR; |
} |
- virtual NPError NPP_NewStream(NPMIMEType type, NPStream* stream, NPBool seekable, uint16_t* stype) override |
- { |
+ NPError NPP_NewStream(NPMIMEType type, |
+ NPStream* stream, |
+ NPBool seekable, |
+ uint16_t* stype) override { |
stream->pdata = this; |
if (strcmp(stream->url, javaScriptURL)) |
@@ -72,8 +74,7 @@ private: |
return NPERR_NO_ERROR; |
} |
- virtual NPError NPP_DestroyStream(NPStream* stream, NPReason reason) override |
- { |
+ NPError NPP_DestroyStream(NPStream* stream, NPReason reason) override { |
if (stream->pdata != this) |
m_didFail = true; |
@@ -96,16 +97,17 @@ private: |
return NPERR_NO_ERROR; |
} |
- virtual int32_t NPP_WriteReady(NPStream* stream) override |
- { |
+ int32_t NPP_WriteReady(NPStream* stream) override { |
if (stream->pdata != this) |
m_didFail = true; |
return 2; |
} |
- virtual int32_t NPP_Write(NPStream* stream, int32_t offset, int32_t len, void* buffer) override |
- { |
+ int32_t NPP_Write(NPStream* stream, |
+ int32_t offset, |
+ int32_t len, |
+ void* buffer) override { |
if (stream->pdata != this) |
m_didFail = true; |