summaryrefslogtreecommitdiff
path: root/desktop/selection.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/selection.h')
-rw-r--r--desktop/selection.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/desktop/selection.h b/desktop/selection.h
index cc8d8da4e..cb9289ac7 100644
--- a/desktop/selection.h
+++ b/desktop/selection.h
@@ -25,7 +25,6 @@
#include <stdbool.h>
#include "netsurf/mouse.h"
-#include "content/handlers/css/utils.h"
struct box;
struct browser_window;
@@ -47,7 +46,6 @@ struct selection
{
struct content *c;
struct box *root;
- nscss_len_ctx len_ctx;
unsigned max_idx; /* total bytes in text representation */
@@ -112,7 +110,7 @@ void selection_destroy(struct selection *s);
* \param s selection object
* \param root the root box for html document or NULL for text/plain
*/
-void selection_init(struct selection *s, struct box *root, const nscss_len_ctx *len_ctx);
+void selection_init(struct selection *s, struct box *root);
/**
* Initialise the selection object to use the given box subtree as its root,