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

Side by Side Diff: Source/core/dom/DOMURL.h

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/StyleSheetList.cpp ('k') | Source/core/dom/DOMURL.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 26 matching lines...) Expand all
37 #include "wtf/text/WTFString.h" 37 #include "wtf/text/WTFString.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 class Blob; 41 class Blob;
42 class ExceptionState; 42 class ExceptionState;
43 class ExecutionContext; 43 class ExecutionContext;
44 class URLRegistrable; 44 class URLRegistrable;
45 45
46 class DOMURL FINAL : public RefCountedWillBeGarbageCollectedFinalized<DOMURL>, p ublic ScriptWrappable, public DOMURLUtils { 46 class DOMURL FINAL : public RefCountedWillBeGarbageCollectedFinalized<DOMURL>, p ublic ScriptWrappable, public DOMURLUtils {
47 DECLARE_GC_INFO;
48 public: 47 public:
49 static PassRefPtrWillBeRawPtr<DOMURL> create(const String& url, ExceptionSta te& exceptionState) 48 static PassRefPtrWillBeRawPtr<DOMURL> create(const String& url, ExceptionSta te& exceptionState)
50 { 49 {
51 return adoptRefWillBeNoop(new DOMURL(url, blankURL(), exceptionState)); 50 return adoptRefWillBeNoop(new DOMURL(url, blankURL(), exceptionState));
52 } 51 }
53 static PassRefPtrWillBeRawPtr<DOMURL> create(const String& url, const String & base, ExceptionState& exceptionState) 52 static PassRefPtrWillBeRawPtr<DOMURL> create(const String& url, const String & base, ExceptionState& exceptionState)
54 { 53 {
55 return adoptRefWillBeNoop(new DOMURL(url, KURL(KURL(), base), exceptionS tate)); 54 return adoptRefWillBeNoop(new DOMURL(url, KURL(KURL(), base), exceptionS tate));
56 } 55 }
57 static PassRefPtrWillBeRawPtr<DOMURL> create(const String& url, PassRefPtrWi llBeRawPtr<DOMURL> base, ExceptionState& exceptionState) 56 static PassRefPtrWillBeRawPtr<DOMURL> create(const String& url, PassRefPtrWi llBeRawPtr<DOMURL> base, ExceptionState& exceptionState)
(...skipping 18 matching lines...) Expand all
76 private: 75 private:
77 DOMURL(const String& url, const KURL& base, ExceptionState&); 76 DOMURL(const String& url, const KURL& base, ExceptionState&);
78 77
79 KURL m_url; 78 KURL m_url;
80 String m_input; 79 String m_input;
81 }; 80 };
82 81
83 } // namespace WebCore 82 } // namespace WebCore
84 83
85 #endif // DOMURL_h 84 #endif // DOMURL_h
OLDNEW
« no previous file with comments | « Source/core/css/StyleSheetList.cpp ('k') | Source/core/dom/DOMURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698