fix primary selection color on chrome
diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js b/bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js
index b656f60..a5f61be 100644
--- a/bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js
+++ b/bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js
@@ -423,6 +423,7 @@
 		/** @private */
 		update: function() {
 			var view = this._view;
+			var primary = this.primary;
 			var focused = view._hasFocus;
 			var visible = view._cursorVisible;
 			var cursor = !this.primary && this._selection && this._selection.isEmpty();
@@ -436,6 +437,9 @@
 			this._divs[0].style.zIndex = visible && cursor ? "2" : "0"; //$NON-NLS-1$ //$NON-NLS-0$
 			this._divs.forEach(function(div) {
 				div.className = className;
+				if (util.isWebkit && primary) {
+					div.style.background = focused ? "transparent" : ""; //$NON-NLS-0$
+				}
 			});
 		},
 		/** @private */