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

Side by Side Diff: third_party/WebKit/Source/core/dom/DOMURL.cpp

Issue 1818233003: Merge WTF::initializeMainThread into WTF::initialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Motorola Mobility Inc. 3 * Copyright (C) 2012 Motorola Mobility Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 17 matching lines...) Expand all
28 28
29 #include "bindings/core/v8/ExceptionMessages.h" 29 #include "bindings/core/v8/ExceptionMessages.h"
30 #include "bindings/core/v8/ExceptionState.h" 30 #include "bindings/core/v8/ExceptionState.h"
31 #include "core/dom/ExceptionCode.h" 31 #include "core/dom/ExceptionCode.h"
32 #include "core/dom/ExecutionContext.h" 32 #include "core/dom/ExecutionContext.h"
33 #include "core/fetch/MemoryCache.h" 33 #include "core/fetch/MemoryCache.h"
34 #include "core/fileapi/Blob.h" 34 #include "core/fileapi/Blob.h"
35 #include "core/html/PublicURLManager.h" 35 #include "core/html/PublicURLManager.h"
36 #include "platform/blob/BlobURL.h" 36 #include "platform/blob/BlobURL.h"
37 #include "platform/weborigin/SecurityOrigin.h" 37 #include "platform/weborigin/SecurityOrigin.h"
38 #include "wtf/MainThread.h"
39 38
40 namespace blink { 39 namespace blink {
41 40
42 DOMURL::DOMURL(const String& url, const KURL& base, ExceptionState& exceptionSta te) 41 DOMURL::DOMURL(const String& url, const KURL& base, ExceptionState& exceptionSta te)
43 { 42 {
44 if (!base.isValid()) 43 if (!base.isValid())
45 exceptionState.throwTypeError("Invalid base URL"); 44 exceptionState.throwTypeError("Invalid base URL");
46 45
47 m_url = KURL(base, url); 46 m_url = KURL(base, url);
48 if (!m_url.isValid()) 47 if (!m_url.isValid())
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 95
97 void DOMURL::revokeObjectUUID(ExecutionContext* executionContext, const String& uuid) 96 void DOMURL::revokeObjectUUID(ExecutionContext* executionContext, const String& uuid)
98 { 97 {
99 if (!executionContext) 98 if (!executionContext)
100 return; 99 return;
101 100
102 executionContext->publicURLManager().revoke(uuid); 101 executionContext->publicURLManager().revoke(uuid);
103 } 102 }
104 103
105 } // namespace blink 104 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/V8StringResource.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698