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

Unified Diff: third_party/WebKit/Source/core/html/media/MediaFragmentURIParser.cpp

Issue 2780403004: Create core/html/media/ and move auxiliary media files in it. (Closed)
Patch Set: actually add autoplay files Created 3 years, 9 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: third_party/WebKit/Source/core/html/media/MediaFragmentURIParser.cpp
diff --git a/third_party/WebKit/Source/core/html/MediaFragmentURIParser.cpp b/third_party/WebKit/Source/core/html/media/MediaFragmentURIParser.cpp
similarity index 99%
rename from third_party/WebKit/Source/core/html/MediaFragmentURIParser.cpp
rename to third_party/WebKit/Source/core/html/media/MediaFragmentURIParser.cpp
index 0b9410f7dd56d8c89e00ab8467251abe17ac1826..16effa4fdc10acc68cf9f00887a71e92b56f7257 100644
--- a/third_party/WebKit/Source/core/html/MediaFragmentURIParser.cpp
+++ b/third_party/WebKit/Source/core/html/media/MediaFragmentURIParser.cpp
@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "core/html/MediaFragmentURIParser.h"
+#include "core/html/media/MediaFragmentURIParser.h"
#include "wtf/text/CString.h"
#include "wtf/text/StringBuilder.h"
@@ -116,9 +116,10 @@ void MediaFragmentURIParser::parseFragments() {
String name = decodeURLEscapeSequences(
fragmentString.substring(parameterStart, equalOffset - parameterStart));
String value;
- if (equalOffset != parameterEnd)
+ if (equalOffset != parameterEnd) {
value = decodeURLEscapeSequences(fragmentString.substring(
equalOffset + 1, parameterEnd - equalOffset - 1));
+ }
// b. Convert name and value to Unicode strings by interpreting them as
// UTF-8. If either name or value are not valid UTF-8 strings, then

Powered by Google App Engine
This is Rietveld 408576698