Searched refs:leakRef (Results 1 - 25 of 66) sorted by relevance

123

/external/webkit/Source/WebKit2/Shared/API/c/cg/
H A DWKImageCG.cpp39 return toImpl(imageRef)->bitmap()->makeCGImageCopy().leakRef();
48 return toAPI(webImage.release().leakRef());
/external/webkit/Source/WebKit2/Shared/API/c/mac/
H A DWKCertificateInfoMac.mm37 return toAPI(certificateInfo.release().leakRef());
/external/webkit/Source/WebKit2/UIProcess/API/C/gtk/
H A DWKView.cpp43 return toAPI(view.release().leakRef());
58 return toCopiedURLAPI(StringImpl::create(url).leakRef());
/external/webkit/Source/WebKit2/Shared/API/c/
H A DWKUserContentURLPattern.cpp42 return toAPI(userContentURLPattern.release().leakRef());
H A DWKSecurityOrigin.cpp42 return toAPI(securityOrigin.release().leakRef());
48 return toAPI(securityOrigin.release().leakRef());
H A DWKSerializedScriptValue.cpp43 return toAPI(serializedValue.release().leakRef());
49 return toAPI(serializedValue.release().leakRef());
H A DWKContextMenuItem.cpp45 return toAPI(WebContextMenuItem::create(WebContextMenuItemData(ActionType, toImpl(tag), toImpl(title)->string(), enabled, false)).leakRef());
50 return toAPI(WebContextMenuItem::create(WebContextMenuItemData(CheckableActionType, toImpl(tag), toImpl(title)->string(), enabled, checked)).leakRef());
55 return toAPI(WebContextMenuItem::create(toImpl(title)->string(), enabled, toImpl(submenuItems)).leakRef());
90 return toAPI(toImpl(itemRef)->submenuItemsAsImmutableArray().leakRef());
H A DWKImage.cpp42 return toAPI(webImage.release().leakRef());
H A DWKURLRequest.cpp43 return toAPI(WebURLRequest::create(KURL(KURL(), toImpl(url)->string())).leakRef());
H A DWKURL.cpp40 return toAPI(WebURL::create(String::fromUTF8(string)).leakRef());
H A DWKString.cpp42 return toAPI(webString.release().leakRef());
89 return toAPI(webString.release().leakRef());
/external/webkit/Source/WebKit2/Shared/API/c/cf/
H A DWKErrorCF.cpp44 return cfError.leakRef();
/external/webkit/Source/WebKit2/Shared/cg/
H A DWebCoreArgumentCodersCG.cpp42 // BitmapImage::create adopts the CGImageRef that's passed in, which is why we need to leakRef here.
43 return BitmapImage::create(platformImage.leakRef());
/external/webkit/Source/WebKit2/UIProcess/API/C/
H A DWKDownload.cpp42 return toAPI(WebURLRequest::create(toImpl(download)->request()).leakRef());
H A DWKPageGroup.cpp43 return toAPI(pageGroup.release().leakRef());
/external/webkit/Source/JavaScriptCore/API/
H A DJSStringRefCF.cpp48 return OpaqueJSString::create(reinterpret_cast<UChar*>(buffer.get()), length).leakRef();
50 return OpaqueJSString::create(0, 0).leakRef();
H A DJSStringRef.cpp39 return OpaqueJSString::create(chars, numChars).leakRef();
50 return OpaqueJSString::create(buffer.data(), p - buffer.data()).leakRef();
54 return OpaqueJSString::create().leakRef();
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/
H A DWKBundleNavigationAction.cpp60 return toAPI(hitTestResult.release().leakRef());
66 return toAPI(formElement.release().leakRef());
H A DWKBundleBackForwardList.cpp42 return toAPI(toImpl(listRef)->itemAtIndex(index).leakRef());
/external/webkit/Source/WebKit2/Shared/API/c/win/
H A DWKCertificateInfoWin.cpp36 return toAPI(WebCertificateInfo::create(PlatformCertificateInfo(certificate)).leakRef());
/external/webkit/Source/JavaScriptCore/wtf/
H A DPassRefPtr.h71 PassRefPtr(const PassRefPtr& o) : m_ptr(o.leakRef()) { }
72 template<typename U> PassRefPtr(const PassRefPtr<U>& o) : m_ptr(o.leakRef()) { }
81 T* leakRef() const WARN_UNUSED_RETURN;
102 // FIXME: Remove releaseRef once we change all callers to call leakRef instead.
103 T* releaseRef() const WARN_UNUSED_RETURN { return leakRef(); }
113 // begins life non-null, and can only become null through a call to leakRef()
137 : m_ptr(o.leakRef())
143 : m_ptr(o.leakRef())
149 : m_ptr(o.leakRef())
159 T* leakRef() cons
185 template<typename T> inline T* PassRefPtr<T>::leakRef() const function in class:WTF::PassRefPtr
[all...]
/external/webkit/Source/WebCore/storage/
H A DSQLCallbackWrapper.h74 context = m_scriptExecutionContext.release().leakRef();
75 callback = m_callback.release().leakRef();
/external/webkit/Source/WebKit2/Shared/
H A DWebContextMenuItem.cpp52 return adoptRef(new WebContextMenuItem(WebContextMenuItemData(WebCore::ContextMenuItemTagNoAction, title, enabled, submenu))).leakRef();
57 DEFINE_STATIC_LOCAL(WebContextMenuItem*, separatorItem, (adoptRef(new WebContextMenuItem(WebContextMenuItemData(WebCore::SeparatorType, WebCore::ContextMenuItemTagNoAction, String(), true, false))).leakRef()));
/external/webkit/Source/WebKit2/UIProcess/API/C/win/
H A DWKGrammarDetail.cpp59 return toAPI(toImpl(grammarDetailRef)->guesses().leakRef());
/external/webkit/Source/WebKit2/UIProcess/win/
H A DWebTextChecker.cpp38 static WebTextChecker* textChecker = adoptRef(new WebTextChecker).leakRef();

Completed in 183 milliseconds

123