Index: /CKEditor/trunk/_source/plugins/styles/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/styles/plugin.js	(revision 3705)
+++ /CKEditor/trunk/_source/plugins/styles/plugin.js	(revision 3706)
@@ -588,5 +588,5 @@
 			 * node via DFS and remove the styles one-by-one.
 			 */
-			var endNode = range.document.getById( bookmark.endNode ),
+			var endNode = bookmark.endNode,
 				me = this;
 
