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

Unified Diff: Source/core/rendering/RenderThemeMacShared.mm

Issue 14325012: Remove the dynamic initialization of WebKitSystemInterface. Just call into the library directly. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: '' Created 7 years, 8 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: Source/core/rendering/RenderThemeMacShared.mm
diff --git a/Source/core/rendering/RenderThemeMacShared.mm b/Source/core/rendering/RenderThemeMacShared.mm
index 5411874842aa06331db573272f69b44cc7297eb3..45dcf5a13983c1c56ee8e6eaa408a3799c974837 100644
--- a/Source/core/rendering/RenderThemeMacShared.mm
+++ b/Source/core/rendering/RenderThemeMacShared.mm
@@ -723,7 +723,7 @@ bool RenderThemeMacShared::paintTextField(RenderObject* o, const PaintInfo& pain
// of painting its own background. We need WebCore to paint styled backgrounds, so we'll use
// this WebCoreSystemInterface function instead.
if (!useNSTextFieldCell) {
- wkDrawBezeledTextFieldCell(r, isEnabled(o) && !isReadOnlyControl(o));
+ WKDrawBezeledTextFieldCell(r, isEnabled(o) && !isReadOnlyControl(o));
return false;
}
#endif
@@ -750,7 +750,7 @@ bool RenderThemeMacShared::paintCapsLockIndicator(RenderObject*, const PaintInfo
return true;
LocalCurrentGraphicsContext localContext(paintInfo.context);
- wkDrawCapsLockIndicator(localContext.cgContext(), r);
+ WKDrawCapsLockIndicator(localContext.cgContext(), r);
return false;
}
@@ -758,7 +758,7 @@ bool RenderThemeMacShared::paintCapsLockIndicator(RenderObject*, const PaintInfo
bool RenderThemeMacShared::paintTextArea(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r)
{
LocalCurrentGraphicsContext localContext(paintInfo.context);
- wkDrawBezeledTextArea(r, isEnabled(o) && !isReadOnlyControl(o));
+ WKDrawBezeledTextArea(r, isEnabled(o) && !isReadOnlyControl(o));
return false;
}
« no previous file with comments | « Source/core/platform/mac/WebSystemInterface.mm ('k') | Tools/Scripts/copy-webkitlibraries-to-product-directory » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698